// d3d12umddi.h
PFND3D12DDI_PINRESOURCES_CB_0076 Pfnd3d12ddiPinresourcesCb0076;
HRESULT Pfnd3d12ddiPinresourcesCb0076(
D3D12DDI_HRTDEVICE hRTDevice,
const D3D12DDICB_PIN_RESOURCES_0076 *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Marks the resource as not movable and not eligible to be paged out.
hRTDeviceHandle that identifies the display device.
unnamedParam2A D3D12DDICB_PIN_RESOURCES_0076 structure that provides the list of resources to pin.
Returns HRESULT.
//Declaration
PFND3D12DDI_PINRESOURCES_CB_0076 Pfnd3d12ddiPinResources;
// Definition
HRESULT Pfnd3d12ddiPinResources
(
D3D12DDI_HRTDEVICE hRTDevice,
CONST D3D12DDICB_PIN_RESOURCES_0076*
)
{...}
A resource that has been pinned can be unpinned by calling PFND3D12DDI_UNPINRESOURCES_CB_0076.
PFND3D12DDI_UNPINRESOURCES_CB_0076