#ifndef _NTUSER_H
// rev
/**
* The CreateDCompositionHwndTarget routine creates a DirectComposition target bound to a window handle.
*
* \param WindowHandle Handle to the target window.
* \param TargetFlags Flags controlling the composition target creation.
* \param TargetHandle Pointer that receives the composition target handle.
* \returns LOGICAL Non-zero on success, zero otherwise.
* \remarks Forwards to the NtUserCreateDCompositionHwndTarget system call.
*/
NTSYSAPI
LOGICAL
NTAPI
CreateDCompositionHwndTarget(
_In_ HWND WindowHandle,
_In_ ULONG TargetFlags,
_Out_ PVOID TargetHandle
);
View code on GitHubNo description available.