// d3dkmddi.h
typedef struct _DXGK_CANCELFLIPS_PLANE {
ULONGLONG PresentIdCancelRequested;
ULONGLONG PresentIdCancelled;
UINT LayerIndex;
} DXGK_CANCELFLIPS_PLANE;
View the official Windows Driver Kit DDI referenceNo description available.
In the hardware flip queue model, the DXGK_CANCELFLIPS_PLANE structure contains a plane cancel request.
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. |
LayerIndex[in] Identifies the MPO plane index in the flip queue.
The DXGKARG_CANCELFLIPS structure contains a pointer to an array of DXGK_CANCELFLIPS_PLANE structures, each containing a per plane cancel request.
See Cancelling interlocked flips on multiple planes for more information.