IWebBrowser2::Application Property

Gets the automation object for the application that is hosting the WebBrowser Control.

Syntax


HRESULT IWebBrowser2::get_Application(IDispatch **ppDisp);

Parameters

ppDisp
Address of a pointer to a variable of type IDispatch interface that receives the automation object.

Return Value

Returns S_OK if successful, or E_NOINTERFACE if the interface is not supported.

Remarks

This property gets the automation object of the application that is hosting the WebBrowser Control, if the object is accessible. Otherwise, this property returns the automation object of the WebBrowser Control.

See Also

Community Additions

Show: