Click to return to the Reusing Browser Technology home page    
IHTMLControlRange::queryC...     IHTMLControlRange::queryC...     IHTMLControlRange Interfa...    
Web Workshop  |  Reusing Browser Technology

IHTMLControlRange::queryCommandSupported Method


Determines whether the given command is supported.

Syntax

HRESULT queryCommandSupported(
    BSTR cmdID, 
    VARIANT_BOOL *pfRet
);

Parameters

cmdID
String (BSTR) value that contains the identifier of a command. It can be any command identifier given in the list of Command Identifiers.
pfRet
Address of a VARIANT Boolean structure that receives VARIANT_TRUE if the command is supported, or VARIANT_FALSE otherwise.

Return Value

Returns S_OK if successful, or an error code otherwise.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.