DXGK_MEMORYRANGE structure (d3dkmddi.h)

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

The query is done during adapter object initialization. The driver will be called only if DXGK_SEGMENTDESCRIPTOR4::NumInvalidMemoryRanges is not zero for a segment.

Syntax

typedef struct _DXGK_MEMORYRANGE {
  UINT64 SegmentOffset;
  UINT64 SizeInBytes;
} DXGK_MEMORYRANGE;

Members

SegmentOffset

The offset from the start of the segment in bytes. The value must be aligned to the segment page boundary.

SizeInBytes

The number of byte in the range. The value must be multiple of the segment page size.

Requirements

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

See also

DXGK_QUERYSEGMENTMEMORYSTATE

DXGK_SEGMENTDESCRIPTOR4

DxgkDdiQueryAdapterInfo