// d3dukmdt.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGK_ISFEATUREENABLED_RESULT structure defines the results of a feature query.
VersionWhen 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.
EnabledWhen set, the feature is enabled.
KnownFeatureWhen set, the feature is known to the OS.
SupportedByDriverWhen set, the feature is supported by the driver. SupportedByDriver is set only if the feature depends on the driver support.
SupportedOnCurrentConfigWhen set, the feature is supported on the current configuration.
ReservedReserved for system use.
ValueAn alternative way to access the bit fields of this structure.
For more information, see Querying WDDM feature support and enablement.
DXGK_FEATURE_INTERFACE:IsFeatureEnabled