// d3dkmddi.h
DXGKDDI_SETNATIVEFENCELOGBUFFER DxgkddiSetnativefencelogbuffer;
NTSTATUS DxgkddiSetnativefencelogbuffer(
IN_CONST_PDXGKARG_SETNATIVEFENCELOGBUFFER pSetNativeFenceLogBuffer
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Dxgkrnl calls DxgkDdiSetNativeFenceLogBuffer to inform the kernel-mode display miniport driver (KMD) of the location of the specified native fence log buffer.
pSetNativeFenceLogBuffer[in] Pointer to a DXGKARG_SETNATIVEFENCELOGBUFFER structure that contains the native fence log buffer information.
DxgkDdiSetNativeFenceLogBuffer returns STATUS_SUCCESS if KMD was able to successfully set the native fence log buffer. Otherwise, it returns an appropriate NTSTATUS error code.
Dxgkrnl can destroy and recreate a log buffer. Each time it does, it calls DxgkDdiSetNativeFenceLogBuffer to inform KMD of the new location.
For more information about native GPU fences and log buffer usage, see Native GPU fence objects.
DXGKARG_SETNATIVEFENCELOGBUFFER