CreateDCompositionHwndTarget - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#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
    );

#endif

View code on GitHub

NtDoc

No description available.