Click to return to the Reusing Browser Technology home page    
IWebBrowser2::ClientToWin...     IWebBrowser2::get_Address...     IWebBrowser2 Interface    
Web Workshop  |  Reusing Browser Technology

IWebBrowser2::ExecWB Method


Implements a wrapper that allows you to execute a command on an OLE object using the IOleCommandTarget::Exec method.

Syntax

HRESULT ExecWB(
    OLECMDID cmdID,
    OLECMDEXECOPT cmdexecopt,
    VARIANT *pvaIn,
    VARIANT *pvaOut
);

Parameters

cmdID
[in] OLECMDID value that specifies the command to execute. For a discussion of command identifiers, see MSHTML Editing Command Identifiers.
cmdexecopt
[in] OLECMDEXECOPT value that specifies the command options.
pvaIn
[in] Address of a VARIANT structure that contains command input arguments. This argument can be NULL.
pvaOut
[out, in] Address of a VARIANT structure that receives command output. This argument can be NULL.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

See Also

IWebBrowser2::QueryStatusWB


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.