Bewerken

Delen via


DXGKDDI_SETNATIVEFENCELOGBUFFER callback function (d3dkmddi.h)

Dxgkrnl calls DxgkDdiSetNativeFenceLogBuffer to inform the kernel-mode display miniport driver (KMD) of the location of the specified native fence log buffer.

Syntax

DXGKDDI_SETNATIVEFENCELOGBUFFER DxgkddiSetnativefencelogbuffer;

NTSTATUS DxgkddiSetnativefencelogbuffer(
  IN_CONST_PDXGKARG_SETNATIVEFENCELOGBUFFER pSetNativeFenceLogBuffer
)
{...}

Parameters

pSetNativeFenceLogBuffer

[in] Pointer to a DXGKARG_SETNATIVEFENCELOGBUFFER structure that contains the native fence log buffer information.

Return value

DxgkDdiSetNativeFenceLogBuffer returns STATUS_SUCCESS if KMD was able to successfully set the native fence log buffer. Otherwise, it returns an appropriate NTSTATUS error code.

Remarks

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.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2
Header d3dkmddi.h
IRQL DISPATCH_LEVEL

See also

DXGKARG_SETNATIVEFENCELOGBUFFER