NtDxgkVailPromoteCompositionSurface - NtDoc

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

// rev
/**
 * The NtDxgkVailPromoteCompositionSurface routine promotes a composition surface through the VAIL
 * process/session connection. The ABI has two handle-related
 * arguments, not a third scalar. The second receives a pointer-width handle. Some native failures reach a
 * NULL handle write while early failures return first; WoW64 also copies its temporary handle back on
 * failure. Do not consume output after failure. Promotion and returned-handle lifetime requirements are private.
 *
 * \param CompositionSurface The composition surface argument.
 * \param PromotedSurface Receives the promoted surface.
 * \returns Status code returned by the operation.
 */
_Kernel_entry_
NTSYSCALLAPI
NTSTATUS
NTAPI
NtDxgkVailPromoteCompositionSurface(
    _In_ HANDLE CompositionSurface,
    _Out_ PHANDLE PromotedSurface
    );

#endif

View code on GitHub

NtDoc

No description available.