Skip to content

Latest commit

 

History

History
119 lines (79 loc) · 3.87 KB

ns-d3dukmdt-d3dddi_reservegpuvirtualaddress.md

File metadata and controls

119 lines (79 loc) · 3.87 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:d3dukmdt.D3DDDI_RESERVEGPUVIRTUALADDRESS
D3DDDI_RESERVEGPUVIRTUALADDRESS (d3dukmdt.h)
D3DDDI_RESERVEGPUVIRTUALADDRESS is used with pfnReserveGpuVirtualAddressCb to reserve an address range in the graphics processing unit (GPU) virtual address space of the current process.
display\d3dddi_reservegpuvirtualaddress.htm
display
05/10/2018
D3DDDI_RESERVEGPUVIRTUALADDRESS structure
D3DDDI_RESERVEGPUVIRTUALADDRESS, D3DDDI_RESERVEGPUVIRTUALADDRESS structure [Display Devices], d3dukmdt/D3DDDI_RESERVEGPUVIRTUALADDRESS, display.d3dddi_reservegpuvirtualaddress
d3dukmdt.h
D3dumddi.h, D3dkmddi.h
Windows
Windows 10
Windows Server 2016
Windows
D3DDDI_RESERVEGPUVIRTUALADDRESS
D3DDDI_RESERVEGPUVIRTUALADDRESS
d3dukmdt/D3DDDI_RESERVEGPUVIRTUALADDRESS
APIRef
kbSyntax
HeaderDef
d3dukmdt.h
D3DDDI_RESERVEGPUVIRTUALADDRESS

D3DDDI_RESERVEGPUVIRTUALADDRESS structure

-description

D3DDDI_RESERVEGPUVIRTUALADDRESS is used with pfnReserveGpuVirtualAddressCb to reserve an address range in the graphics processing unit (GPU) virtual address space of the current process.

-struct-fields

-field hPagingQueue

Paging queue to synchronize the operation on.

-field hAdapter

DirectX graphics adapter handle.

-field BaseAddress

(Optional) If non-NULL, the video memory manager will attempt to use this address as the base address for the reserved range. If the range from BaseAddress to BaseAddress+Size isn’t free, the call will fail. When this parameter is non-NULL, MinimumAddress and MaximumAddress are ignored.

BaseAddress is in bytes and must be aligned to 64KB boundary.

If NULL is specified the video memory manager will pick the base address for the allocation within the specified MinimumAddress and MaximumAddress.

-field MinimumAddress

(Optional) Specifies the minimum GPU virtual address to consider for the reserved range.

MinimumAddress is in bytes and must be aligned to 64KB boundary.

This parameter is ignored when BaseAddress != NULL.

-field MaximumAddress

(Optional) Specifies the maximum GPU virtual address to consider for the reserved range. the video memory manager will guarantee that BaseAddress+Size <= MaximumAddress. If this is set to NULL the video memory manager will not apply any limit.

MaximumAddress is in bytes and must be aligned to 64KB boundary.

This parameter is ignored when BaseAddress != NULL.

-field Size

Specify the size of the range to reserve in bytes. Must be a multiple of 64KB.

-field ReservationType

Specifies the virtual address reservation type.

-field Reserved0

This member is reserved and should be set to zero.

-field DriverProtection

Specifies the driver-specific protection

-field Reserved1

This member is reserved and should be set to zero.

-field VirtualAddress [out]

The reserved virtual address.

-field PagingFenceValue

Paging fence identifier for synchronization

-field Reserved2

This member is reserved and should be set to zero.

-see-also

pfnReserveGpuVirtualAddressCb