Поделиться через


CHtmlView::OnGetHostInfo

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

virtual HRESULT OnGetHostInfo(
   DOCHOSTUIINFO *pInfo 
);

Параметры

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

Возвращаемое значение

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

Заметки

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

Требования

Header: afxhtml.h

См. также

Основные понятия

CHtmlView Class

CHtmlView Members

Hierarchy Chart

CHtmlView::OnGetExternal