DXGKCB_ISFEATUREENABLED2 callback function (d3dkmddi.h)

A kernel-mode display miniport driver (KMD) calls DXGKCB_ISFEATUREENABLED2 to query whether the OS has enabled a feature.

Syntax

DXGKCB_ISFEATUREENABLED2 DxgkcbIsfeatureenabled2;

NTSTATUS DxgkcbIsfeatureenabled2(
  IN_CONST_HANDLE hAdapter,
  INOUT_PDXGKARGCB_ISFEATUREENABLED2 pArgs
)
{...}

Parameters

hAdapter

[in] The adapter for which to query the feature. If the feature is a global feature, this value must be NULL.

pArgs

[in/out] Pointer to a DXGKARGCB_ISFEATUREENABLED2 structure that contains information about the feature being queried.

Return value

DXGKCB_ISFEATUREENABLED2 returns STATUS_SUCCESS if the operation succeeds. Otherwise, returns an appropriate NTSTATUS code.

Remarks

For more information, see Querying WDDM feature support and enablement.

Requirements

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

See also

DXGK_FEATURE_INTERFACE

DXGKARGCB_ISFEATUREENABLED2