IWebBrowser2::QueryStatusWB Method
Queries the object for the status of commands using the IOleCommandTarget::QueryStatus method.
Syntax
HRESULT QueryStatusWB( OLECMDID cmdID, OLECMDF *pcmdf );
Parameters
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
The WebBrowser object delegates this method to the top-level frame. If no frame exists, it returns E_FAIL.
See Also