DXGK_MEMORYRANGE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmddi.h

typedef struct _DXGK_MEMORYRANGE {
  UINT64 SegmentOffset;
  UINT64 SizeInBytes;
} DXGK_MEMORYRANGE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmddi-_dxgk_memoryrange)

DXGK_MEMORYRANGE structure

Description

A DXGK_MEMORYRANGE structure describes a range of memory.

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 bytes in the range. The value must be a multiple of the segment page size.

Remarks

One way that DXGK_MEMORYRANGE is used is with DxgkDdiQueryAdapterInfo and DXGK_QUERYSEGMENTMEMORYSTATE to query bad GPU memory ranges. The query is done during adapter object initialization. The driver is called only if DXGK_SEGMENTDESCRIPTOR4::NumInvalidMemoryRanges isn't zero for a segment.

See also

DXGK_QUERYSEGMENTMEMORYSTATE

DXGK_SEGMENTDESCRIPTOR4

DXGKARG_CREATEMEMORYBASIS

DxgkDdiCreateMemoryBasis

DxgkDdiQueryAdapterInfo