ICompositorInterop interface
TOC
Collapse the table of content
Expand the table of content

ICompositorInterop interface

Native interoperation interface that allows creating swapchain surfaces and graphics devices. This is interface is available in C++ only.

Members

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

Methods

The ICompositorInterop interface has these methods.

MethodDescription
CreateCompositionSurfaceForHandle

Creates an instance of CompositionSurface for use with the handle of a swapchain. In order to host media swapchain on a CompositionSurface, use the IMFMediaEngineEx::GetVideoSwapchainHandle method.

CreateCompositionSurfaceForSwapChain

Creates an instance of CompositionSurface for use with a swap chain.

CreateGraphicsDevice

Creates a CompositionGraphicsDevice backed by the specified rendering device.

 

Remarks

See ICompositionDrawingSurfaceInterop for usage examples.

Requirements

Header

Windows.ui.composition.interop.h

See also

IUnknown
Composition Native Interoperation Overview

 

 

Show:
© 2018 Microsoft