Freigeben über


CHtmlView::OnGetHostInfo

Retrieves the UI capabilities of the Internet Explorer or MSHTML host.

virtual HRESULT OnGetHostInfo(
   DOCHOSTUIINFO *pInfo 
);

Parameters

  • pInfo
    Address of a DOCHOSTUIINFO structure that receives the host's UI capabilities.

Return Value

S_OK if successful, or an OLE-defined error code otherwise.

Remarks

Override OnGetHostInfo to react to the GetHostInfo notification from the Microsoft Web Browser control. See IDocHostUIHandler::GetHostInfo in the Windows SDK for more information.

Requirements

Header: afxhtml.h

See Also

Concepts

CHtmlView Class

CHtmlView Members

Hierarchy Chart

CHtmlView::OnGetExternal