DXGK_DIAGNOSTIC_HEADER structure (dispmprt.h)

Header structure which contains the common fields used to describe all diagnostic events.

Syntax

typedef struct _DXGK_DIAGNOSTIC_HEADER {
  DXGK_DIAGNOSTIC_CATEGORIES Category;
  DXGK_DIAGNOSTIC_TYPES      Type;
  union {
    struct {
      UINT Size : 16;
      UINT Reserved : 16;
    };
    UINT Value;
  };
  UINT                       SequenceNumber;
  union {
    D3DDDI_VIDEO_PRESENT_TARGET_ID TargetId;
    D3DDDI_VIDEO_PRESENT_SOURCE_ID SourceId;
    UINT                           Id;
  };
} DXGK_DIAGNOSTIC_HEADER;

Members

Category

A DXGK_DIAGNOSTIC_CATEGORIES structure with a single bit field set to one to indicate the category of diagnostic being described.

Type

A DXGK_DIAGNOSTIC_TYPES structure with a single bit field set to one to indicate the type of diagnostic being described.

Size

Size in bytes of the event being reported including the header. For OS defined event types, the size will be checked against the expected size of the associated structure.

Reserved

Reserved.

Value

Value of the header.

SequenceNumber

An adapter global value incremented for each diagnostic reported such that each report has a unique sequence number, within the limits of a 32-bit value.

TargetId

A 32-bit value that identifies the component to which this event relates. The interpretation of the field is dependent on the type of diagnostic being reported.

SourceId

A 32-bit value that identifies the component to which this event relates. The interpretation of the field is dependent on the type of diagnostic being reported.

Id

A 32-bit value that identifies the component to which this event relates. The interpretation of the field is dependent on the type of diagnostic being reported.

Requirements

Requirement Value
Header dispmprt.h