// d3dkmddi.h
typedef struct _DXGKARG_SETFLIPQUEUELOGBUFFER {
D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
UINT LayerIndex;
UINT NumberOfEntries;
DXGK_FLIPQUEUE_LOG_ENTRY *LogBufferAddress;
} DXGKARG_SETFLIPQUEUELOGBUFFER;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGKARG_SETFLIPQUEUELOGBUFFER structure contains parameters for the driver's DXGKDDI_SETFLIPQUEUELOGBUFFER callback function.
VidPnSourceId[in] A D3DDDI_VIDEO_PRESENT_SOURCE_ID value that identifies the VidPn source ID for which the flip queue log buffer is being provided.
LayerIndex[in] A zero-based index value that identifies the MPO plane index for which the flip queue log buffer is being provided.
NumberOfEntries[in] The number of entries in the flip queue log buffer that LogBufferAddress points to.
LogBufferAddress[in] Pointer to an array of DXGK_FLIPQUEUE_LOG_ENTRY structures in the flip queue log buffer. This value is the kernel-mode CPU virtual address of the flip queue log buffer in non-paged memory. LogBufferAddress is NULL if the OS is about to destroy the current flip queue log buffer.
See Obtaining present statistics for queued flips for more information.