Partager via


IViewObjectPresentSite interface

Provides an interface to the OLE swap chain to enable ActiveX controls to use hardware acceleration to render by using the ISurfacePresenter interface.

Members

The IViewObjectPresentSite interface inherits from the IUnknown interface. IViewObjectPresentSite also has these types of members:

  • Methods

Methods

The IViewObjectPresentSite interface has these methods.

Method Description
CreateSurfacePresenter

Returns an ISurfacePresenter interface with an DXGI buffer chain.

IsHardwareComposition

Returns whether MSHTML is using hardware acceleration to do composition of the page contents.

SetCompositionMode

Sets the composition mode for the ISurfacePresenter interface.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll