DXGKDDI_SETFLIPQUEUELOGBUFFER callback function (d3dkmddi.h)

In the hardware flip queue model, the OS calls a display miniport driver's [DXGKDDI_SETFLIPQUEUELOGBUFFER](/windows-hardware/drivers/ddi/nc-d3dkmddi-dxgkddi_setflipqueuelogbuffe r) function to provide the driver with the flip queue log.

Syntax

DXGKDDI_SETFLIPQUEUELOGBUFFER DxgkddiSetflipqueuelogbuffer;

NTSTATUS DxgkddiSetflipqueuelogbuffer(
  IN_CONST_HANDLE hAdapter,
  IN_CONST_PDXGKARG_SETFLIPQUEUELOGBUFFER pSetFlipQueueLogBuffer
)
{...}

Parameters

hAdapter

[in] Handle to a display adapter.

pSetFlipQueueLogBuffer

[in] Pointer to a DXGKARG_SETFLIPQUEUELOGBUFFER structure containing the parameters for this function.

Return value

DXGKDDI_SETFLIPQUEUELOGBUFFER returns an NTSTATUS code such as one of the following:

Return value Meaning
STATUS_SUCCESS The routine completed successfully. If DXGKARG_SETFLIPQUEUELOGBUFFER::LogBufferAddress is NULL then this DDI must return STATUS_SUCCESS.
STATUS_NO_MEMORY The function failed because it was unable to allocate the amount of memory needed to complete successfully.
STATUS_NOT_IMPLEMENTED The driver does not implement support for this operation.

Remarks

See Obtaining present statistics for queued flips for more information.

Requirements

Requirement Value
Minimum supported client Windows 11 (WDDM 3.0)
Header d3dkmddi.h
IRQL PASSIVE_LEVEL

See also

DXGKARG_SETFLIPQUEUELOGBUFFER