DXGKCB_ISFEATUREENABLED callback function (d3dkmddi.h)
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.
Syntax
DXGKCB_ISFEATUREENABLED DxgkcbIsfeatureenabled;
NTSTATUS DxgkcbIsfeatureenabled(
[in/out] INOUT_PDXGKARGCB_ISFEATUREENABLED unnamedParam1
)
{...}
Parameters
[in/out] unnamedParam1
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1903 (WDDM 2.6) |
Header | d3dkmddi.h |
IRQL | PASSIVE_LEVEL |