IVDctGlossary::Num

HRESULT Num(BOOL fGlobal, DWORD *pdwNumCmd);

Retrieves the total number of glossary entries in the global or application specific glossary entry set.

· Returns NOERROR if successful, or one of these error values:

E_INVALIDARG
VCMDERR_INVALIDCHAR
VCMDERR_MENUTOOCOMPLEX
VCMDERR_OUTOFMEM
VCMDERR_VALUEOUTOFRANGE

fGlobal

[in] If this is TRUE, the glossary entries are read from the global glossary entry set that is used in every application. If this is FALSE it accesses the glossary entries for the application. In general, applications should not modify the global glossary entry set.

pdwNumCmd

[out] Address of a variable that receives the number of glossary entries.