DXGKARGCB_RESERVEGPUVIRTUALADDRESSRANGE structure (d3dkmddi.h)

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.

Syntax

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;

Members

[in] hDxgkProcess

The process handle that was passed to DxgkDdiCreateProcess.

[in] SizeInBytes

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.

[in] Alignment

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.

[out] StartVirtualAddress

The starting location of the reserved address range.

[in] BaseAddress

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.

[in] AllowUserModeMapping

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

[in] Flags

A single value containing the flags set in the structure.

Requirements

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

See also

DXGKCB_RESERVEGPUVIRTUALADDRESSRANGE

DxgkDdiCreateProcess