// d3dkmddi.h
typedef struct _DXGKARG_CANCELQUEUEDFLIPS {
D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
UINT LayerIndex;
ULONGLONG PresentIdCancelRequested;
ULONGLONG PresentIdCancelled;
} DXGKARG_CANCELQUEUEDFLIPS;
View the official Windows Driver Kit DDI referenceNo description available.
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.
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. |
Asynchronously cancelled PresentIds are reported via the VSync interrupt mechanism.