共用方式為


GetHostInfo method

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

Syntax

HRESULT retVal = object.GetHostInfo(pInfo);

Parameters

Return value

Type: HRESULT

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