DXGK_DIAGNOSTIC_TYPES structure (dispmprt.h)

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.

Syntax

typedef struct _DXGK_DIAGNOSTIC_TYPES {
  union {
    DXGK_DIAGTYPE_NOTIFICATIONS Notifications;
    DXGK_DIAGTYPE_PROGRESSIONS  Progressions;
    UINT                        Value;
  };
} DXGK_DIAGNOSTIC_TYPES;

Members

Notifications

A DXGK_DIAGTYPE_NOTIFICATIONS structure for indicating what kind of diagnostics are being described.

Progressions

A DXGK_DIAGTYPE_PROGRESSIONS structure for indicating a Progressions diagnostic type.

Value

Value of the diagnostic type.

Remarks

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.

Requirements

Requirement Value
Header dispmprt.h