DXGK_PHYSICAL_MEMORY_TYPE - NtDoc

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

typedef enum _DXGK_PHYSICAL_MEMORY_TYPE {
  DXGK_PHYSICAL_MEMORY_TYPE_MDL,
  DXGK_PHYSICAL_MEMORY_TYPE_CONTIGUOUS_MEMORY,
  DXGK_PHYSICAL_MEMORY_TYPE_SECTION,
  DXGK_PHYSICAL_MEMORY_TYPE_IO_SPACE
} DXGK_PHYSICAL_MEMORY_TYPE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-d3dkmddi-dxgk_physical_memory_type)

Description

DXGK_PHYSICAL_MEMORY_TYPE indicates the type of physical memory being created by the driver in a call to DxgkCbCreatePhysicalMemoryObject.

Constants

DXGK_PHYSICAL_MEMORY_TYPE_MDL

Allocate nonpageable memory in the form of an MDL. This is functionally equivalent to calling MmAllocatePagesForMdl.

DXGK_PHYSICAL_MEMORY_TYPE_CONTIGUOUS_MEMORY

Allocate contiguous nonpageable memory. This is functionally equivalent to calling MmAllocateContiguousMemory.

DXGK_PHYSICAL_MEMORY_TYPE_SECTION

Allocate memory that can be mapped into one or more processes. This represents memory that would normally be allocated from ZwCreateSection.

DXGK_PHYSICAL_MEMORY_TYPE_IO_SPACE

Wrap an existing IO-space range provided by the driver.

Remarks

DXGK_PHYSICAL_MEMORY_TYPE is passed as a member of the DXGKARGCB_CREATE_PHYSICAL_MEMORY_OBJECT arguments.

See IOMMU DMA remapping for more information.

See also

DXGKARGCB_CREATE_PHYSICAL_MEMORY_OBJECT

DxgkCbCreatePhysicalMemoryObject