Bewerken

Delen via


DXGK_ISFEATUREENABLED_RESULT structure (d3dukmdt.h)

The DXGK_ISFEATUREENABLED_RESULT structure defines the results of a feature query.

Syntax

typedef struct _DXGK_ISFEATUREENABLED_RESULT {
  UINT16 Version;
  union {
    struct {
      UINT16 Enabled : 1;
      UINT16 KnownFeature : 1;
      UINT16 SupportedByDriver : 1;
      UINT16 SupportedOnCurrentConfig : 1;
      UINT16 Reserved : 12;
    };
    DXGK_FEATURE_VERSION Value;
  };
} DXGK_ISFEATUREENABLED_RESULT;

Members

Version

When enabled (Enabled=TRUE), Version is the negotiated version of the feature that is used. This value is the highest version that is supported by both the OS and driver. For example, if the OS supports versions 1 through 3, and the driver supports versions 2 through 5, the resulting negotiated feature version is 3.

Enabled

When set, the feature is enabled.

KnownFeature

When set, the feature is known to the OS.

SupportedByDriver

When set, the feature is supported by the driver. SupportedByDriver is set only if the feature depends on the driver support.

SupportedOnCurrentConfig

When set, the feature is supported on the current configuration.

Reserved

Reserved for system use.

Value

An alternative way to access the bit fields of this structure.

Remarks

For more information, see Querying WDDM feature support and enablement.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2 (WDDM 3.2)
Header d3dukmdt.h

See also

D3DKMT_ISFEATUREENABLED

DXGK_FEATURE_INTERFACE

DXGK_FEATURE_INTERFACE:IsFeatureEnabled