Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ID3D10InfoQueue::AddApplicationMessage method (d3d10sdklayers.h)

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

Syntax

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

Parameters

[in] Severity

Type: D3D10_MESSAGE_SEVERITY

Severity of a message (see D3D10_MESSAGE_SEVERITY).

[in] pDescription

Type: LPCSTR

Message string.

Return value

Type: HRESULT

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

Requirements

Requirement Value
Target Platform Windows
Header d3d10sdklayers.h

See also

ID3D10InfoQueue Interface


Feedback

Was this page helpful?

Additional resources