GetHostInfo method

Gets the UI capabilities of the application that is hosting MSHTML.

Syntax

HRESULT retVal = object.GetHostInfo(pInfo);

Parameters

  • pInfo [in, out]
    Type: [DOCHOSTUIINFO](aa770044(v=vs.85).md)

    A pointer to a DOCHOSTUIINFO structure that receives the host's UI capabilities.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.