Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ICompositorInterop interface (windows.ui.composition.interop.h)

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

Inheritance

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

Methods

The ICompositorInterop interface has these methods.

 
ICompositorInterop::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.
ICompositorInterop::CreateCompositionSurfaceForSwapChain

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

Creates a CompositionGraphicsDevice backed by the specified rendering device.

Remarks

See ICompositionDrawingSurfaceInterop for usage examples.

Requirements

Requirement Value
Target Platform Windows
Header windows.ui.composition.interop.h

See also

Composition Native Interoperation Overview

IUnknown


Feedback

Was this page helpful?

Additional resources