Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Retrieves the current value of the given command.
Syntax
HRESULT queryCommandValue( BSTR cmdID, VARIANT *pcmdValue );
Return Value
Returns S_OK if successful, or an error value otherwise.
Parameters
- cmdID
- String value that contains the identifier of a command. Can be any command identifier given in the list of Command Identifiers.
- pcmdValue
- Address of a VARIANT structure that receives a string representing the command value. If the command is not supported, this variable receives NULL.
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.