// d3dkmddi.h
DXGKCB_QUERYFEATURESUPPORT DxgkcbQueryfeaturesupport;
NTSTATUS DxgkcbQueryfeaturesupport(
INOUT_PDXGKARGCB_QUERYFEATURESUPPORT unnamedParam1
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
A kernel-mode display miniport driver (KMD) calls DXGKCB_QUERYFEATURESUPPORT to query whether the OS will permit it to enable support for a feature. Starting in Windows 11, version 24H2 (WDDM 3.2), this port driver callback function has been replaced by DXGK_FEATURE_INTERFACE.
unnamedParam1Pointer to a DXGKARGCB_QUERYFEATURESUPPORT structure that contains information about the feature being queried.
Return STATUS_SUCCESS if the operation succeeds. Otherwise, returns an appropriate NTSTATUS code.
The OS sets the Enabled member of DXGKARGCB_QUERYFEATURESUPPORT to TRUE when it permits 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.
The OS's determination of whether to enable a feature is based on a number of factors.
Pre-WDDM 2.9 drivers can call DXGKCB_ISFEATUREENABLED instead.