D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_V1 - NtDoc

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

/**
 * Pre-Windows 8 segment statistics returned in D3DKMT_QUERYSTATISTICS.QueryResult.
 * The three leading byte counters are 32-bit values. The fixed layout is 144 bytes on x86
 * and x64 with 8-byte alignment. SystemMemoryEndAddress and PowerFlags belong to the Windows 8
 * layout, not this version. The corresponding legacy tail consists of eight reserved UINT64s.
 */
typedef struct _D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_V1
{
    ULONG CommitLimit;
    ULONG BytesCommitted;
    ULONG BytesResident;
    D3DKMT_QUERYSTATISTICS_MEMORY Memory;
    ULONG Aperture; // boolean
    D3DKMT_ALIGN64 ULONGLONG TotalBytesEvictedByPriority[D3DKMT_MaxAllocationPriorityClass];
    D3DKMT_ALIGN64 ULONG64 Reserved[8];
} D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_V1, *PD3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_V1;

#endif

View code on GitHub

NtDoc

No description available.