Skip to content

Latest commit

 

History

History
74 lines (56 loc) · 3.29 KB

nc-d3dumddi-pfnd3dddi_reservegpuvirtualaddresscb.md

File metadata and controls

74 lines (56 loc) · 3.29 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
NC:d3dumddi.PFND3DDDI_RESERVEGPUVIRTUALADDRESSCB
PFND3DDDI_RESERVEGPUVIRTUALADDRESSCB (d3dumddi.h)
pfnReserveGPUVirtualAddressCb reserves an address range in the current process graphics processing unit (GPU) virtual address space. The address range is only reserved, there is no actual memory behind it.
display\pfnreservegpuvirtualaddresscb.htm
display
05/10/2018
PFND3DDDI_RESERVEGPUVIRTUALADDRESSCB callback function
PFND3DDDI_RESERVEGPUVIRTUALADDRESSCB, PFND3DDDI_RESERVEGPUVIRTUALADDRESSCB callback, d3dumddi/pfnReserveGpuVirtualAddressCb, display.pfnreservegpuvirtualaddresscb, pfnReserveGpuVirtualAddressCb, pfnReserveGpuVirtualAddressCb callback function [Display Devices]
d3dumddi.h
D3dumddi.h
Desktop
Windows 10
Windows Server 2016
Windows
PFND3DDDI_RESERVEGPUVIRTUALADDRESSCB
d3dumddi/PFND3DDDI_RESERVEGPUVIRTUALADDRESSCB
APIRef
kbSyntax
UserDefined
d3dumddi.h
PFND3DDDI_RESERVEGPUVIRTUALADDRESSCB

PFND3DDDI_RESERVEGPUVIRTUALADDRESSCB callback function

-description

pfnReserveGPUVirtualAddressCb reserves an address range in the current process graphics processing unit (GPU) virtual address space. The address range is only reserved, there is no actual memory behind it.

The user mode driver may choose the base GPU virtual address to use for the reservation by specifying a non-NULL value for BaseAddress. The video memory manager will use the specified range if it is available. If the range intersects with an existing range, the operation will fail. The user mode driver may pass a NULLBaseAddress to let the video memory manager pick a base address.

When the user mode driver chooses to let the video memory manager pick a base address for the GPU virtual address range, it may choose to constrain the range that the video memory manager will consider by specifying non-NULL values for MinimumAddress and MaximumAddress. The video memory manager will ensure that the allocated GPU virtual address range is entirely contained in the range. The user mode driver may specify only a MinimumAddress (MaximumAddress being assumed to be the end of the address space) or only specify a MaximumAddress (MinimumAddress being assumed to be 0).

-parameters

-param hDevice

A handle to the display device.

-param unnamedParam2

pData [in, out]

A pointer to a D3DDDI_RESERVEGPUVIRTUALADDRESS structure that describes the operation to perform.

-returns

If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-see-also

D3DDDI_RESERVEGPUVIRTUALADDRESS