Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Determines whether the given command is currently available.
Syntax
HRESULT queryCommandEnabled( BSTR cmdID, VARIANT_BOOL *pfRet );
Parameters
- cmdID
- String value containing the identifier of a command. Can be any command identifier given in the list of Command Identifiers.
- pfRet
- Address of a Boolean variable that receives TRUE if the command is available, or FALSE otherwise.
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.