DXGKARGCB_RESERVEGPUVIRTUALADDRESSRANGE - NtDoc

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

typedef struct _DXGKARGCB_RESERVEGPUVIRTUALADDRESSRANGE {
  [in]  HANDLE hDxgkProcess;
  [in]  UINT64 SizeInBytes;
  [in]  UINT   Alignment;
  [out] UINT64 StartVirtualAddress;
  [in]  UINT64 BaseAddress;
  union {
    struct {
      UINT AllowUserModeMapping : 1;
    };
    [in]  UINT Flags;
  };
} DXGKARGCB_RESERVEGPUVIRTUALADDRESSRANGE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

DXGKARGCB_RESERVEGPUVIRTUALADDRESSRANGE structure

Description

DXGKARGCB_RESERVEGPUVIRTUALADDRESSRANGE contains the arguments used by the DXGKCB_RESERVEGPUVIRTUALADDRESSRANGE callback function, to allow the kernel-mode display driver to reserve a graphics processing unit (GPU) virtual address range during creation of a process.

Members

hDxgkProcess [in]

The process handle that was passed to DxgkDdiCreateProcess.

SizeInBytes [in]

The size in bytes of the virtual address range. SizeInBytes must be set to an integral multiple of the address space covered by a single page table entry.

Alignment [in]

The number of bytes to align the start address to. Must be a multiple of the address space covered by a single page table entry and a power of 2.

StartVirtualAddress [out]

The starting location of the reserved address range.

BaseAddress [in]

The base virtual address of the virtual address range in bytes. It must be aligned to the size of the address space, covered by a single page table entry.

AllowUserModeMapping [in]

When set, allows the user-mode driver to map allocations to the range.

Flags [in]

A single value containing the flags set in the structure.

See also

DXGKCB_RESERVEGPUVIRTUALADDRESSRANGE

DxgkDdiCreateProcess