Functions

This section describes the functions provided by the Microsoft DirectComposition API.

In this section

Topic Description
DCompositionAttachMouseDragToHwnd
Creates an Interaction/InputSink to route mouse button down and any subsequent move and up events to the given HWND.
DCompositionAttachMouseWheelToHwnd
Creates an Interaction/InputSink to route mouse wheel messages to the given HWND.
DCompositionCreateDevice
Creates a new device object that can be used to create other DirectComposition objects.
DCompositionCreateDevice2
Creates a new device object that can be used to create other DirectComposition objects.
DCompositionCreateDevice3
Creates a new DirectComposition device object, which can be used to create other DirectComposition objects.
DCompositionCreateSurfaceHandle
Creates a new composition surface object that can be bound to a Microsoft DirectX swap chain or swap buffer and associated with a visual.
DCompositionGetFrameStatistics
Retrieves composition statistics information.

DirectComposition Reference