Retrieves the current value of the given command.
Syntax
HRESULT queryCommandValue( BSTR cmdID, VARIANT *pcmdValue );
Parameters
- cmdID
- String (BSTR) identifier of a command. It can be any command identifier given in the list of Command Identifiers.
- pcmdValue
- Address of a VARIANT Boolean structure that receives a string representing the command value. If the command is not supported, this variable receives NULL.
Return Value
Returns S_OK if successful, or an error code otherwise.