ID3D11InfoQueue::AddApplicationMessage method

Add a user-defined message to the message queue and send that message to debug output.

Syntax

HRESULT AddApplicationMessage(
  D3D11_MESSAGE_SEVERITY Severity,
  LPCSTR                 pDescription
);

Parameters

Severity

Type: D3D11_MESSAGE_SEVERITY

Severity of a message (see D3D11_MESSAGE_SEVERITY).

pDescription

Type: LPCSTR

Message string.

Return value

Type: HRESULT

This method returns one of the following Direct3D 11 Return Codes.

Requirements

   
Target Platform Windows
Header d3d11sdklayers.h
Library D3D11.lib

See also

ID3D11InfoQueue Interface