// dispmprt.h
typedef struct _DXGK_DIAGNOSTIC_TYPES {
union {
DXGK_DIAGTYPE_NOTIFICATIONS Notifications;
DXGK_DIAGTYPE_PROGRESSIONS Progressions;
UINT Value;
};
} DXGK_DIAGNOSTIC_TYPES;
View the official Windows Driver Kit DDI referenceNo description available.
A structure that contains a union of all the defined sets of diagnostic types. The member of the union which should be used to interpret this data is determined by the bit-field which is set in the associated DXGK_DIAGNOSTIC_CATEGORIES structure. In general, there will be one set of diagnostic types for each diagnostic category.
NotificationsA DXGK_DIAGTYPE_NOTIFICATIONS structure for indicating what kind of diagnostics are being described.
ProgressionsA DXGK_DIAGTYPE_PROGRESSIONS structure for indicating a Progressions diagnostic type.
ValueValue of the diagnostic type.
The DXGK_DIAGNOSTIC_TYPES structure is used to identify diagnostic types in different scenarios. \ Depending on the context, zero, one or multiple bits may be set. When reporting a diagnostic, exactly one bit must be set. When controlling diagnostics or querying support, multiple bits may be set and zero bits can be a valid value, for example, when the OS calls DxgkDdiControlDiagnosticReporting to disable all reporting.