共用方式為


IHTMLOMWindowServices interface

Enables applications that are hosting the WebBrowser Control to intercept the window object calls for manipulating the host window coordinates from Dynamic HTML (DHTML) script.

Members

The IHTMLOMWindowServices interface inherits from the IUnknown interface but does not have additional members.

Remarks

The IHTMLOMWindowServices interface was introduced in Microsoft Internet Explorer 6 for Windows XP Service Pack 2 (SP2).

Applications that host the WebBrowser Control should implement this interface and IServiceProvider. Windows Internet Explorer calls IServiceProvider::QueryService for SID_SHTMLOMWindowServices and IID_IHTMLOMWindowServices on the host's client site.

Note  When operating in high-dpi mode, the values sent to this interface are scaled up accordingly. This matches the behavior of the standalone Internet Explorer application window. See Adjusting Scale for Higher DPI Screens for additional information.

 

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003

Header

Mshtmhst.h

IDL

Mshtmhst.idl