Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
IWebBrowser2::get_Container, IWebBrowser2::get_Document, IWebBrowser2::get_Parent