// d3dkmddi.h
typedef struct _DXGKARG_SETNATIVEFENCELOGBUFFER {
HANDLE hHwQueue;
UINT NumberOfEntries;
DXGK_NATIVE_FENCE_LOG_BUFFER *LogBufferCpuVa;
D3DGPU_VIRTUAL_ADDRESS LogBufferGpuVa;
D3DGPU_VIRTUAL_ADDRESS LogBufferSystemProcessGpuVa;
DXGKARG_SETNATIVEFENCELOGBUFFER_FLAGS Flags;
BYTE Reserved[32];
} DXGKARG_SETNATIVEFENCELOGBUFFER;
View the official Windows Driver Kit DDI referenceNo description available.
DXGKARG_SETNATIVEFENCELOGBUFFER is the input structure for DxgkDdiSetNativeFenceLogBuffer.
hHwQueue[in] Driver handle of the HWQueue to which this log belongs.
NumberOfEntries[in] Number of entries in the array of log entries that LogBufferCpuVa points to.
LogBufferCpuVa[in] The read/write kernel-mode CPU virtual address of the native fence log buffer.
LogBufferGpuVa[in] The read/write GPU VA of the log buffer in user process address space.
LogBufferSystemProcessGpuVa[in] The read/write GPU VA of the log buffer in system address space.
Flags[in] A DXGKARG_SETNATIVEFENCELOGBUFFER_FLAGS structure that contains flags for writing a payload into the native fence log buffer.
Reserved[32]Reserved for system use.
For more information about native GPU fences and log buffer usage, see Native GPU fence objects.
DxgkDdiSetNativeFenceLogBuffer