// d3d12umddi.h
PFND3D12DDI_MAKERESIDENT_0001 Pfnd3d12ddiMakeresident0001;
HRESULT Pfnd3d12ddiMakeresident0001(
D3D12DDI_HDEVICE unnamedParam1,
D3D12DDIARG_MAKERESIDENT_0001 *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
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.
unnamedParam1A handle to the display device.
unnamedParam2A pointer to a D3D12DDIARG_MAKERESIDENT_0001 structure that describes the memory pages to make resident.
Returns HRESULT.
//Declaration
PFND3D12DDI_MAKERESIDENT_0001 Pfnd3d12ddiMakeresident0001;
// Definition
HRESULT Pfnd3d12ddiMakeresident0001
(
D3D12DDI_HDEVICE Arg1
D3D12DDIARG_MAKERESIDENT_0001 *
)
{...}