DXGKCB_ISFEATUREENABLED - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmddi.h

DXGKCB_ISFEATUREENABLED DxgkcbIsfeatureenabled;

NTSTATUS DxgkcbIsfeatureenabled(
  [in/out] INOUT_PDXGKARGCB_ISFEATUREENABLED unnamedParam1
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dkmddi-dxgkcb_isfeatureenabled)

DXGKCB_ISFEATUREENABLED callback function

Description

A kernel-mode display miniport driver (KMD) calls DxgkCbIsFeatureEnabled to query whether the OS has enabled a feature. Starting in Windows 11, version 24H2 (WDDM 3.2), this port driver callback function has been replaced by DXGK_FEATURE_INTERFACE.

Parameters

unnamedParam1 [in/out]

Pointer to a DXGKARGCB_ISFEATUREENABLED structure that contains information about the feature being queried.

Return value

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

Remarks

Starting in WDDM 2.9, drivers can call DXGKCB_QUERYFEATURESUPPORT to provide additional information to the OS.

The OS sets the Enabled member of DXGKARGCB_ISFEATUREENABLED to TRUE when it allows the driver to enable support for the queried feature. Enabled is set to FALSE to instruct the driver to not enable its support for the feature.

DXGKCB_*XXX* functions are implemented by Dxgkrnl. To use this callback function, set the appropriate members of DXGKARGCB_ISFEATUREENABLED and then call DxgkCbIsFeatureEnabled via the DXGKRNL_INTERFACE.

See also

DXGKARGCB_ISFEATUREENABLED

DXGKCB_QUERYFEATURESUPPORT

DXGKRNL_INTERFACE