Bewerken

Delen via


DXGK_FEATURE_CATEGORY enumeration (d3dukmdt.h)

The DXGK_FEATURE_CATEGORY enumeration specifies the category of a WDDM feature.

Syntax

typedef enum _DXGK_FEATURE_CATEGORY {
  DXGK_FEATURE_CATEGORY_DRIVER = 0,
  DXGK_FEATURE_CATEGORY_OS = 1,
  DXGK_FEATURE_CATEGORY_BUGFIX = 2,
  DXGK_FEATURE_CATEGORY_TEST = 3,
  DXGK_FEATURE_CATEGORY_RESERVED4 = 4,
  DXGK_FEATURE_CATEGORY_RESERVED5 = 5,
  DXGK_FEATURE_CATEGORY_RESERVED6 = 6,
  DXGK_FEATURE_CATEGORY_RESERVED7 = 7,
  DXGK_FEATURE_CATEGORY_RESERVED8 = 8,
  DXGK_FEATURE_CATEGORY_RESERVED9 = 9,
  DXGK_FEATURE_CATEGORY_RESERVED10 = 10,
  DXGK_FEATURE_CATEGORY_RESERVED11 = 11,
  DXGK_FEATURE_CATEGORY_RESERVED12 = 12,
  DXGK_FEATURE_CATEGORY_RESERVED13 = 13,
  DXGK_FEATURE_CATEGORY_RESERVED14 = 14,
  DXGK_FEATURE_CATEGORY_RESERVED15 = 15,
  DXGK_FEATURE_CATEGORY_MAX = 16
} DXGK_FEATURE_CATEGORY;

Constants

 
DXGK_FEATURE_CATEGORY_DRIVER
Value: 0
Indicates a feature that requires additional driver support. For ease of implementation, the driver category is category 0 (meaning all 4 upper category ID bits are 0). This layout makes it easier for drivers to implement by allowing feature data to be store in static and/or linear arrays of data.
DXGK_FEATURE_CATEGORY_OS
Value: 1
Indicates a feature that is internal or specific to the OS.
DXGK_FEATURE_CATEGORY_BUGFIX
Value: 2
Indicates a bugfix. This value allows the driver or another component to trivially ask the OS if a bugfix is present. Drivers then don't have to do any fancy workarounds with build numbers, which can be confusing when backporting fixes.
DXGK_FEATURE_CATEGORY_TEST
Value: 3
Reserved for testing purposes. No feature IDs in this category are used in production.
DXGK_FEATURE_CATEGORY_RESERVED4
Value: 4
Reserved for future use. No feature IDs are defined in this category.
DXGK_FEATURE_CATEGORY_RESERVED5
Value: 5
Reserved for future use. No feature IDs are defined in this category.
DXGK_FEATURE_CATEGORY_RESERVED6
Value: 6
Reserved for future use. No feature IDs are defined in this category.
DXGK_FEATURE_CATEGORY_RESERVED7
Value: 7
Reserved for future use. No feature IDs are defined in this category.
DXGK_FEATURE_CATEGORY_RESERVED8
Value: 8
Reserved for future use. No feature IDs are defined in this category.
DXGK_FEATURE_CATEGORY_RESERVED9
Value: 9
Reserved for future use. No feature IDs are defined in this category.
DXGK_FEATURE_CATEGORY_RESERVED10
Value: 10
Reserved for future use. No feature IDs are defined in this category.
DXGK_FEATURE_CATEGORY_RESERVED11
Value: 11
Reserved for future use. No feature IDs are defined in this category.
DXGK_FEATURE_CATEGORY_RESERVED12
Value: 12
Reserved for future use. No feature IDs are defined in this category.
DXGK_FEATURE_CATEGORY_RESERVED13
Value: 13
Reserved for future use. No feature IDs are defined in this category.
DXGK_FEATURE_CATEGORY_RESERVED14
Value: 14
Reserved for future use. No feature IDs are defined in this category.
DXGK_FEATURE_CATEGORY_RESERVED15
Value: 15
Reserved for future use. No feature IDs are defined in this category.
DXGK_FEATURE_CATEGORY_MAX
Value: 16
Maximum value for this enumeration.

Remarks

A WDDM feature is identified by a feature ID value that has a feature category (one of this enumeration's values in the upper 4 bits) and a sub-ID (bottom 28 bits).

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

DXGK_DRIVER_FEATURE

DXGK_FEATURE_ID