// d3dkmddi.h
typedef struct _DXGK_QUERYSEGMENTMEMORYSTATE {
WORD DriverSegmentId;
WORD PhysicalAdapterIndex;
union {
UINT NumInvalidMemoryRanges;
UINT NumUEFIFrameBufferRanges;
};
UINT NumInvalidMemoryRanges;
DXGK_MEMORYRANGE *pMemoryRanges;
} DXGK_QUERYSEGMENTMEMORYSTATE, DXGK_SEGMENTMEMORYSTATE;
View the official Windows Driver Kit DDI referenceNo description available.
DXGK_QUERYSEGMENTMEMORYSTATE is used with DxgkDdiQueryAdapterInfo to query invalid graphics processing unit (GPU) memory ranges.
DriverSegmentIdA 1-based segment identifier of a local GPU memory segment.
PhysicalAdapterIndexPhysical adapter index in a linked display adapter link.
NumUEFIFrameBufferRangesNumInvalidMemoryRangesThe number of entries in the pMemoryRanges array. This is the value returned by the kernel mode driver in DXGK_SEGMENTDESCRIPTOR4.
pMemoryRangesArray of DXGK_MEMORYRANGE structures for the invalid memory ranges.