PFND3D12DDI_MAKERESIDENT_0001 callback function

pfnMakeResident is used to instruct the OS to add a resource to the device residency list and increment the residency reference count on this allocation.

Syntax

PFND3D12DDI_MAKERESIDENT_0001 Pfnd3d12ddiMakeresident0001;

HRESULT Pfnd3d12ddiMakeresident0001(
  D3D12DDI_HDEVICE Arg1,
  D3D12DDIARG_MAKERESIDENT_0001 *Arg2
)
{...}

Parameters

Arg1

A handle to the display device.

Arg2

A pointer to a D3D12DDIARG_MAKERESIDENT_0001 structure that describes the memory pages to make resident.

Return Value

Returns HRESULT.

Requirements

   
Minimum supported client Windows 10, version 1809
Header d3d12umddi.h