// d3dumddi.h
PFND3DDDI_TRIMRESIDENCYSET Pfnd3dddiTrimresidencyset;
HRESULT Pfnd3dddiTrimresidencyset(
HANDLE hDevice,
D3DDDIARG_TRIMRESIDENCYSET *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
pfnTrimResidencySet is used to trim the residency list for a given device. User mode drivers are required to implement this callback in order to participate in the new memory residency model.
hDeviceA handle to the display device.
unnamedParam2pData [in]
A pointer to a D3DDDIARG_TRIMRESIDENCYSET structure that provides the details of the requested operation.
If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.