Bewerken

Delen via


PFND3DDDI_DESTROYPAGINGQUEUECB callback function (d3dumddi.h)

pfnDestroyPagingQueueCb waits for a paging queue to finish all operations queued to it and destroys it along with the associated sync object.

Syntax

PFND3DDDI_DESTROYPAGINGQUEUECB Pfnd3dddiDestroypagingqueuecb;

HRESULT Pfnd3dddiDestroypagingqueuecb(
  HANDLE hDevice,
  const D3DDDI_DESTROYPAGINGQUEUE *unnamedParam2
)
{...}

Parameters

hDevice

A handle to the display device.

unnamedParam2

pData [in]

A pointer to a D3DDDI_DESTROYPAGINGQUEUE structure that describes the operation to perform.

Return value

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

Remarks

In addition to hPagingQueue, this device driver interface (DDI) invalidates hSyncObject and FenceValueCPUVirtualAddress values returned from pfnCreatePagingQueueCb.

Requirements

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

See also

D3DDDI_DESTROYPAGINGQUEUE

pfnCreatePagingQueueCb