DXGKCB_FEATURE_NATIVEFENCE_CAPS_1 callback function (d3dkmddi.h)

DXGKCB_FEATURE_NATIVEFENCE_CAPS_1 is the OS's interface table dedicated to version 1 of DXGK_FEATURE_NATIVE_FENCE.

Syntax

DXGKCB_FEATURE_NATIVEFENCE_CAPS_1 DxgkcbFeatureNativefenceCaps1;

NTSTATUS DxgkcbFeatureNativefenceCaps1(
  INOUT_PDXGKARGCB_FEATURE_NATIVEFENCE_CAPS_1 pArgs
)
{...}

Parameters

pArgs

[in/out] Pointer to a DXGKARGCB_FEATURE_NATIVEFENCE_CAPS_1 structure in which the OS returns the support it's providing.

Return value

DXGKCB_FEATURE_NATIVEFENCE_CAPS_1 returns STATUS_SUCCESS if the operation succeeds. Otherwise, it returns an appropriate NTSTATUS error code.

Remarks

KMD calls DXGKCB_FEATURE_NATIVEFENCE_CAPS_1 to determine the OS's support for the native GPU fence feature.

For a sample code snippet and more information about native GPU fences, see Native GPU fence objects.

Requirements

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

See also

DXGKARGCB_FEATURE_NATIVEFENCE_CAPS_1

DXGKCBINT_FEATURE_NATIVEFENCE_1