Determines whether the given command is supported.
Syntax
HRESULT queryCommandSupported( BSTR cmdID, VARIANT_BOOL *pfRet );
Parameters
- cmdID
- String value that contains the identifier of a command.
- pfRet
- Address of a Boolean variable that receives TRUE if the command is supported, or FALSE otherwise.
Return Value
Returns S_OK if successful, or an error code otherwise.