// d3dkmddi.h
DXGKDDI_CANCELFLIPS DxgkddiCancelflips;
NTSTATUS DxgkddiCancelflips(
IN_CONST_HANDLE hAdapter,
INOUT_PDXGKARG_CANCELFLIPS pCancelFlips
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
In the hardware flip queue model, the OS calls a display miniport driver's DXGKDDI_CANCELFLIPS function to synchronously cancel previously queued flips.
hAdapter[in] Handle to a display adapter.
pCancelFlips[in/out] Pointer to a DXGKARG_CANCELFLIPS structure containing the parameters for this function.
DXGKDDI_CANCELFLIPS returns an NTSTATUS code such as one of the following:
| Return value | Meaning |
|---|---|
| STATUS_SUCCESS | The routine completed successfully. |
| STATUS_NOT_IMPLEMENTED | The driver does not implement support for this operation. For this return status, the OS will follow up with a call to DxgkDdiCancelQueuedFlips. |
Asynchronously cancelled PresentIds are reported via the VSync interrupt mechanism.
See Cancelling interlocked flips on multiple planes for more information.