IDCompositionDesktopDevice interface (dcomp.h)
An application must use the IDCompositionDesktopDevice interface in order to use DirectComposition in a Win32 desktop application. This interface allows the application to connect a visual tree to a window and to host layered child windows for composition
The IDCompositionDesktopDevice interface inherits from IDCompositionDevice2. IDCompositionDesktopDevice also has these types of members:
The IDCompositionDesktopDevice interface has these methods.
Creates a new composition surface object that wraps an existing composition surface.
Creates a wrapper object that represents the rasterization of a layered window, and that can be associated with a visual for composition.
Creates a composition target object that is bound to the window that is represented by the specified window handle.
|Minimum supported client||Windows 8.1 [desktop apps only]|
|Minimum supported server||Windows Server 2012 R2 [desktop apps only]|