Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Returns the string associated with a command.
Syntax
HRESULT queryCommandText( BSTR cmdID, BSTR *pcmdText );
Parameters
- cmdID
- String value that contains the identifier of a command. Can be any command identifier given in the list of Command Identifiers.
- pcmdText
- Address of a string variable where the text associated with the command will be stored.
Return Value
Returns S_OK if successful, or an error value otherwise.
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.