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.

IDXGIInfoQueue::AddMessage method

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

Syntax


HRESULT AddMessage(
  [in] DXGI_DEBUG_ID                    Producer,
  [in] DXGI_INFO_QUEUE_MESSAGE_CATEGORY Category,
  [in] DXGI_INFO_QUEUE_MESSAGE_SEVERITY Severity,
  [in] DXGI_INFO_QUEUE_MESSAGE_ID       ID,
  [in] LPCSTR                           pDescription
);

Parameters

Producer [in]

A DXGI_DEBUG_ID value that identifies the entity that produced the message.

Category [in]

A DXGI_INFO_QUEUE_MESSAGE_CATEGORY-typed value that specifies the category of the message.

Severity [in]

A DXGI_INFO_QUEUE_MESSAGE_SEVERITY-typed value that specifies the severity of the message.

ID [in]

An integer that uniquely identifies the message.

pDescription [in]

The message string.

Return value

Returns S_OK if successful; an error code otherwise. For a list of error codes, see DXGI_ERROR.

Remarks

Note  This API requires the Windows Software Development Kit (SDK) for Windows 8.
 

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

DXGIDebug.h

DLL

DXGIDebug.dll

See also

IDXGIInfoQueue

 

 

Show:
© 2017 Microsoft