IVCmdMenu::Num
This method retrieves the total number of commands on a voice menu.
Syntax
HRESULT Num( DWORD *pdwNumCmd);
Parameters
- pdwNumCmd
- [out] Pointer to a DWORD that receives the number of commands.
Return Values
- NOERROR
- The method successfully retrieved the total number of commands.
- E_INVALIDARG
- The argument is invalid.
- VCMDERR_INVALIDCHAR
- There is an invalid character in the voice menu.
- VCMDERR_MENUTOOCOMPLEX
- The menu is too complex to use.
- VCMDERR_OUTOFMEM
- There is no more memory.
- VCMDERR_VALUEOUTOFRANGE
- The value is out of range.