// d3dkmddi.h
DXGKDDI_SETFLIPQUEUELOGBUFFER DxgkddiSetflipqueuelogbuffer;
NTSTATUS DxgkddiSetflipqueuelogbuffer(
IN_CONST_HANDLE hAdapter,
IN_CONST_PDXGKARG_SETFLIPQUEUELOGBUFFER pSetFlipQueueLogBuffer
)
{...}
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_SETFLIPQUEUELOGBUFFER function to provide the driver with the flip queue log.
hAdapter[in] Handle to a display adapter.
pSetFlipQueueLogBuffer[in] Pointer to a DXGKARG_SETFLIPQUEUELOGBUFFER structure containing the parameters for this function.
DXGKDDI_SETFLIPQUEUELOGBUFFER returns an NTSTATUS code such as one of the following:
| Return value | Meaning |
|---|---|
| STATUS_SUCCESS | The routine completed successfully. If DXGKARG_SETFLIPQUEUELOGBUFFER::LogBufferAddress is NULL then this DDI must return STATUS_SUCCESS. |
| STATUS_NO_MEMORY | The function failed because it was unable to allocate the amount of memory needed to complete successfully. |
| STATUS_NOT_IMPLEMENTED | The driver does not implement support for this operation. |
See Obtaining present statistics for queued flips for more information.