PFND3D12DDI_MAKERESIDENT_CB callback function (d3d12umddi.h)

pfnMakeResidentCb 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_CB Pfnd3d12ddiMakeresidentCb;

HRESULT Pfnd3d12ddiMakeresidentCb(
  D3D12DDI_HRTDEVICE hRTDevice,
  D3D12DDI_HRTPAGINGQUEUE hRTPagingQueue,
  D3DDDI_MAKERESIDENT *unnamedParam3
)
{...}

Parameters

hRTDevice

A handle to the display device to be handled in the runtime.

hRTPagingQueue

A handle to the paging queue to be handled in the runtime.

unnamedParam3

Pointer to a D3DDDI_MAKERESIDENT structure.

Return value

Returns HRESULT.

Requirements

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