다음을 통해 공유


IWebBrowser2::QueryStatusWB Method

Queries the object for the status of commands using the IOleCommandTarget::QueryStatus method.

Syntax

HRESULT QueryStatusWB(
    OLECMDID cmdID,
    OLECMDF *pcmdf
);

Parameters

  • cmdID
    [in] OLECMDID value of the command for which the caller needs status information.
  • pcmdf
    [out, retval] Pointer to an OLECMDF value that receives the status of the command.

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

IWebBrowser2::ExecWB