DXGKARG_CANCELQUEUEDFLIPS structure (d3dkmddi.h)

The DXGKARG_CANCELQUEUEDFLIPS structure contains parameters for the driver's DXGKDDI_CANCELQUEUEDFLIPS callback function. This structure was superseded by DXGKARG_CANCELFLIPS starting in WDDM 3.0.

Syntax

typedef struct _DXGKARG_CANCELQUEUEDFLIPS {
  D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
  UINT                           LayerIndex;
  ULONGLONG                      PresentIdCancelRequested;
  ULONGLONG                      PresentIdCancelled;
} DXGKARG_CANCELQUEUEDFLIPS;

Members

VidPnSourceId

[in] A D3DDDI_VIDEO_PRESENT_SOURCE_ID value that identifies the VidPn source ID of the flip queue.

LayerIndex

[in] Identifies the MPO plane index in the flip queue.

PresentIdCancelRequested

[in] Identifies the range of PresentIds to cancel. This value is the first flip in the range of [PresentIdCancelRequested, LastSubmittedPresentIdToDriver] flips to be cancelled.

PresentIdCancelled

[out] Specifies the range of PresentIds that the driver synchronously cancelled. This value is the first flip in the range of [PresentIdCancelled, LastSubmittedPresentIdToDriver] flips that were cancelled. Possible values for PresentIdCancelled follow.

Value Meaning
PresentIdCancelRequested The driver cancelled all pending flips in the specified range.
Greater than or equal to PresentIdCancelRequested The driver couldn't cancel one or more of the pending presents in the specified range.
Zero None of the pending presents were synchronously cancelled.

Remarks

Asynchronously cancelled PresentIds are reported via the VSync interrupt mechanism.

Requirements

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

See also

DXGKARG_CANCELFLIPS