ID3D12InfoQueue::AddApplicationMessage method (d3d12sdklayers.h)

Adds a user-defined message to the message queue and sends that message to debug output.

Syntax

HRESULT AddApplicationMessage(
  [in] D3D12_MESSAGE_SEVERITY Severity,
  [in] LPCSTR                 pDescription
);

Parameters

[in] Severity

Type: D3D12_MESSAGE_SEVERITY

Severity of a message.

[in] pDescription

Type: LPCSTR

Specifies the message string.

Return value

Type: HRESULT

This method returns one of the Direct3D 12 Return Codes.

Requirements

Requirement Value
Target Platform Windows
Header d3d12sdklayers.h

See also

ID3D12InfoQueue