NtUserCreateDCompositionHwndTarget - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTUSER_H

// rev
/**
 * The NtUserCreateDCompositionHwndTarget routine creates a DirectComposition target object for a window.
 *
 * \param WindowHandle Handle to the window to be bound to the DirectComposition target.
 * \param TargetType Type or flags of the composition target.
 * \param TargetHandle Pointer to a variable receiving the created DirectComposition target handle.
 * \returns LOGICAL Non-zero on success, zero otherwise.
 */
_Kernel_entry_
NTSYSCALLAPI
LOGICAL
NTAPI
NtUserCreateDCompositionHwndTarget(
    _In_ HWND WindowHandle,
    _In_ ULONG TargetType,
    _Out_ PHANDLE TargetHandle
    );

#endif

View code on GitHub

NtDoc

No description available.