D3D11_MESSAGE structure (d3d11sdklayers.h)

A debug message in the Information Queue.

Syntax

typedef struct D3D11_MESSAGE {
  D3D11_MESSAGE_CATEGORY Category;
  D3D11_MESSAGE_SEVERITY Severity;
  D3D11_MESSAGE_ID       ID;
  const char             *pDescription;
  SIZE_T                 DescriptionByteLength;
} D3D11_MESSAGE;

Members

Category

Type: D3D11_MESSAGE_CATEGORY

The category of the message. See D3D11_MESSAGE_CATEGORY.

Severity

Type: D3D11_MESSAGE_SEVERITY

The severity of the message. See D3D11_MESSAGE_SEVERITY.

ID

Type: D3D11_MESSAGE_ID

The ID of the message. See D3D11_MESSAGE_ID.

pDescription

Type: const char*

The message string.

DescriptionByteLength

Type: SIZE_T

The length of pDescription in bytes.

Remarks

This structure is returned from ID3D11InfoQueue::GetMessage as part of the Information Queue feature (see ID3D11InfoQueue Interface).

Requirements

Requirement Value
Header d3d11sdklayers.h

See also

Core Structures

Layer Structures