Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11InfoQueue::AddApplicationMessage method

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

Syntax


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

Parameters

Severity [in]

Type: D3D11_MESSAGE_SEVERITY

Severity of a message (see D3D11_MESSAGE_SEVERITY).

pDescription [in]

Type: LPCSTR

Message string.

Return value

Type: HRESULT

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

Requirements

Header

D3D11SDKLayers.h

Library

D3D11.lib

See also

ID3D11InfoQueue Interface

 

 

Show:
© 2018 Microsoft