// d3dumddi.h
PFND3DDDI_CREATEPAGINGQUEUECB Pfnd3dddiCreatepagingqueuecb;
HRESULT Pfnd3dddiCreatepagingqueuecb(
HANDLE hDevice,
D3DDDICB_CREATEPAGINGQUEUE *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
pfnCreatePagingQueueCb is used to create a device paging queue that can be used to synchronize with video memory management operations for the device, such as making the device resource resident.
hDeviceA handle to the display device.
unnamedParam2pData [out]
A pointer to a D3DDDICB_CREATEPAGINGQUEUE 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.
A device can have multiple paging queues created for it. Paging queues can be destroyed either explicitly by calling pfnDestroyPagingQueueCb, or by implicitly destroying the device they belong to. After the latter, paging queue handles will become invalid.