Bewerken

Delen via


DXGKDDI_CANCELQUEUEDFLIPS callback function (d3dkmddi.h)

In the hardware flip queue model, the OS calls a display miniport driver's DXGKDDI_CANCELQUEUEDFLIPS function to synchronously cancel previously queued flips. This function was superseded by DXGKDDI_CANCELFLIPS starting in WDDM 3.0.

Syntax

DXGKDDI_CANCELQUEUEDFLIPS DxgkddiCancelqueuedflips;

NTSTATUS DxgkddiCancelqueuedflips(
  IN_CONST_HANDLE hAdapter,
  INOUT_PDXGKARG_CANCELQUEUEDFLIPS pCancelQueuedFlips
)
{...}

Parameters

hAdapter

[in] Handle to a display adapter.

pCancelQueuedFlips

[in/out] Pointer to a DXGKARG_CANCELQUEUEDFLIPS structure containing the parameters for this function.

Return value

DXGKDDI_CANCELQUEUEDFLIPS returns STATUS_SUCCESS. The driver should always return a success code.

Remarks

Asynchronously cancelled PresentIds are reported via the VSync interrupt mechanism.

Requirements

Requirement Value
Minimum supported server Windows Server 2022 (WDDM 2.9)
Header d3dkmddi.h

See also

DXGKDDI_CANCELFLIPS