Retrieves the string associated with the given command.
Syntax
HRESULT queryCommandText( BSTR cmdID, BSTR *pcmdText );
Parameters
- cmdID
- String (BSTR) value that contains an identifier of a command. It can be any command identifier given in the list of Command Identifiers.
- pcmdText
- Address of a Boolean variable that receives the command string.
Return Value
Returns S_OK if successful, or an error code otherwise.