D3DKMT_DDISPLAY_ENUM - NtDoc

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

// rev
/**
 * Set both capacities to zero and both array pointers to NULL for a sizing query.
 * AdapterCount and TargetCount receive the required counts, including on STATUS_BUFFER_TOO_SMALL.
 * Arrays are copied to user mode only on success; capacities are element counts, not byte sizes.
 * The envelope is 32 bytes on x64 and 24 bytes on x86. Array records have the same layout on both.
 */
typedef struct _D3DKMT_DDISPLAY_ENUM
{
    ULONG AdapterCount;
    ULONG AdapterCapacity;
    PD3DKMT_DDISPLAY_ENUM_ADAPTER Adapters;
    ULONG TargetCount;
    ULONG TargetCapacity;
    PD3DKMT_DDISPLAY_ENUM_TARGET Targets;
} D3DKMT_DDISPLAY_ENUM, *PD3DKMT_DDISPLAY_ENUM;

#endif

View code on GitHub

NtDoc

No description available.