Export (0) Print
Expand All

DOCHOSTUIINFO Structure

Used by the IDocHostUIHandler::GetHostInfo method to allow MSHTML to retrieve information about the host's UI requirements.

Syntax

typedef struct _DOCHOSTUIINFO {
    ULONG cbSize;
    DWORD dwFlags;
    DWORD dwDoubleClick;
    OLECHAR *pchHostCss;
    OLECHAR *pchHostNS;
} DOCHOSTUIINFO;

Members

cbSize
unsigned long containing the size of this structure, in bytes.
dwFlags
One or more of the DOCHOSTUIFLAG values that specify the UI capabilities of the host.
dwDoubleClick
One of the DOCHOSTUIDBLCLK values that specify the operation that should take place in response to a double-click.
pchHostCss
A pointer to a set of Cascading Style Sheets (CSS) rules sent down by the host. These CSS rules affect the page that contains them.
pchHostNS
A pointer to a semicolon-delimited namespace list. This list allows the host to supply a namespace declaration for custom tags on the page.

Remarks

The GetHostInfo method allocates memory for pchHostCss and pchHostNS with CoTaskMemAlloc. You must free this memory with CoTaskMemFree when it is no longer needed. These pointers must be NULL before calling GetHostInfo.

Structure Information

Header and IDL files mshtmhst.h, mshtmhst.idl
Minimum availability Internet Explorer 95
Minimum operating systems Windows NT 4.0, Windows 95, Windows CE 4.0

Community Additions

ADD
Show:
© 2014 Microsoft