Bewerken

Delen via


DXGKARGCB_QUERYFEATURESUPPORT structure (d3dkmddi.h)

The DXGKARGCB_QUERYFEATURESUPPORT structure is the parameter passed to the DXGKCB_QUERYFEATURESUPPORT callback function to query for feature support.

Syntax

typedef struct _DXGKARGCB_QUERYFEATURESUPPORT {
  HANDLE          DeviceHandle;
  DXGK_FEATURE_ID FeatureId;
  UINT            DriverSupportState;
  BOOLEAN         Enabled;
} DXGKARGCB_QUERYFEATURESUPPORT;

Members

DeviceHandle

[in] Device handle that was passed to the driver DxgkDdiStartDevice function.

FeatureId

[in] A DXGK_FEATURE_ID value that identifies the feature to query enabled state for.

DriverSupportState

[in] A UINT value that indicates the driver's support state for the feature identified by FeatureId. This field can be one of the following values.

Value Meaning
DXGK_FEATURE_SUPPORT_ALWAYS_OFF (0) When the driver doesn’t support a feature, it shouldn’t call DXGKCB_QUERYFEATURESUPPORT with that feature ID. This value is provided for implementation convenience of enumerating possible driver support states for a particular feature.
DXGK_FEATURE_SUPPORT_EXPERIMENTAL (1) Driver support for a feature is in the experimental state.
DXGK_FEATURE_SUPPORT_STABLE (2) Driver support for a feature is in the stable state.
DXGK_FEATURE_SUPPORT_ALWAYS_ON (3) Driver support for a feature is in the always-on state and the driver cannot operate without this feature enabled.

Enabled

[out] The OS sets this field to FALSE to instruct the driver not to enable the feature, and sets it to TRUE if the OS allows the driver to enable the feature.

Requirements

Requirement Value
Minimum supported client Windows 10 version 20H1
Minimum supported server Windows Server 2022 (WDDM 2.9)
Header d3dkmddi.h

See also

DXGK_FEATURE_ID

DXGKCB_QUERYFEATURESUPPORT