IDXGIInfoQueue::AddApplicationMessage method
Adds a user-defined message to the message queue and sends that message to the debug output.
Syntax
HRESULT AddApplicationMessage( [in] DXGI_INFO_QUEUE_MESSAGE_SEVERITY Severity, [in] LPCSTR pDescription );
Parameters
- Severity [in]
-
A DXGI_INFO_QUEUE_MESSAGE_SEVERITY-typed value that specifies the severity of 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
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 |
|
|
DLL |
|
See also