Retrieves a pointer to the IDispatch interface of the container.
Syntax
HRESULT get_Container( IDispatch** ppDisp );
Parameters
- ppDisp
- Address of an IDispatch variable that receives the pointer to the container's IDispatch interface.
Return Value
Returns one of the following values:
S_OK The operation was successful. E_FAIL The operation failed. E_NOINTERFACE The interface is not supported.
See Also
IWebBrowser2::get_Application, IWebBrowser2::get_Document, IWebBrowser2::get_Parent