This method of the IWebBrowser2 interface implements a wrapper that allows you to query an OLE object for the status of commands using the IOleCommandTarget::QueryStatus method.
public int QueryStatusWB(int cmdID);
cmdID | The identifier of the command on which the caller needs status information. This will be one of the OLECMDID values. |