// d3dkmddi.h
DXGKCB_ISFEATUREENABLED DxgkcbIsfeatureenabled;
NTSTATUS DxgkcbIsfeatureenabled(
[in/out] INOUT_PDXGKARGCB_ISFEATUREENABLED unnamedParam1
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
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.
unnamedParam1 [in/out]Pointer to a DXGKARGCB_ISFEATUREENABLED structure that contains information about the feature being queried.
DxgkCbIsFeatureEnabled returns STATUS_SUCCESS if the operation succeeds. Otherwise, it returns an appropriate NTSTATUS code.
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.