DXGK_QUERYSEGMENTMEMORYSTATE structure (d3dkmddi.h)

DXGK_QUERYSEGMENTMEMORYSTATE is used with DxgkDdiQueryAdapterInfo to query invalid graphics processing unit (GPU) memory ranges.

Syntax

typedef struct _DXGK_QUERYSEGMENTMEMORYSTATE {
  WORD             DriverSegmentId;
  WORD             PhysicalAdapterIndex;
  union {
    UINT NumInvalidMemoryRanges;
    UINT NumUEFIFrameBufferRanges;
  };
  UINT             NumInvalidMemoryRanges;
  DXGK_MEMORYRANGE *pMemoryRanges;
} DXGK_QUERYSEGMENTMEMORYSTATE, DXGK_SEGMENTMEMORYSTATE;

Members

DriverSegmentId

A 1-based segment identifier of a local GPU memory segment.

PhysicalAdapterIndex

Physical adapter index in a linked display adapter link.

NumInvalidMemoryRanges

The number of entries in the pMemoryRanges array. This is the value returned by the kernel mode driver in DXGK_SEGMENTDESCRIPTOR4.

NumUEFIFrameBufferRanges

pMemoryRanges

Array of DXGK_MEMORYRANGE structures for the invalid memory ranges.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header d3dkmddi.h (include D3dkmddi.h)

See also

DXGK_MEMORYRANGE

DXGK_SEGMENTDESCRIPTOR4

DxgkDdiQueryAdapterInfo