PFND3DDDI_CREATEPAGINGQUEUECB callback function (d3dumddi.h)

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.

Syntax

PFND3DDDI_CREATEPAGINGQUEUECB Pfnd3dddiCreatepagingqueuecb;

HRESULT Pfnd3dddiCreatepagingqueuecb(
  HANDLE hDevice,
  D3DDDICB_CREATEPAGINGQUEUE *unnamedParam2
)
{...}

Parameters

hDevice

A handle to the display device.

unnamedParam2

pData [out]

A pointer to a D3DDDICB_CREATEPAGINGQUEUE structure that provides the details of the requested operation.

Return value

If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

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.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Desktop
Header d3dumddi.h (include D3dumddi.h)