PFND3D12DDI_PINRESOURCES_CB_0076 callback function (d3d12umddi.h)

Marks the resource as not movable and not eligible to be paged out.

Syntax

PFND3D12DDI_PINRESOURCES_CB_0076 Pfnd3d12ddiPinresourcesCb0076;

HRESULT Pfnd3d12ddiPinresourcesCb0076(
  D3D12DDI_HRTDEVICE hRTDevice,
  const D3D12DDICB_PIN_RESOURCES_0076 *unnamedParam2
)
{...}

Parameters

hRTDevice

Handle that identifies the display device.

unnamedParam2

A D3D12DDICB_PIN_RESOURCES_0076 structure that provides the list of resources to pin.

Return value

Returns HRESULT.

Remarks

A resource that has been pinned can be unpinned by calling PFND3D12DDI_UNPINRESOURCES_CB_0076.

Requirements

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

See also

D3D12DDICB_PIN_RESOURCES_0076

PFND3D12DDI_UNPINRESOURCES_CB_0076