PFND3D12DDI_MAKERESIDENT_0001 callback function (d3d12umddi.h)

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 unnamedParam1,
  D3D12DDIARG_MAKERESIDENT_0001 *unnamedParam2
)
{...}

Parameters

unnamedParam1

A handle to the display device.

unnamedParam2

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

Return value

Returns HRESULT.

Requirements

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