ID3D10InfoQueue::AddApplicationMessage method

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

Severity [in]

Type: D3D10_MESSAGE_SEVERITY

Severity of a message (see D3D10_MESSAGE_SEVERITY).

pDescription [in]

Type: LPCSTR

Message string.

Return value

Type: HRESULT

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

Requirements

Header

D3D10SDKLayers.h

See also

ID3D10InfoQueue Interface

 

 

Show: