#include <windows.h>
#include <sal.h>
§ DXGetErrorDescription
§ DXGetErrorString
§ DXTrace
§ DXTRACE_ERR
#define DXTRACE_ERR |
( |
|
str, |
|
|
|
hr |
|
) |
| (hr) |
§ DXTRACE_ERR_MSGBOX
#define DXTRACE_ERR_MSGBOX |
( |
|
str, |
|
|
|
hr |
|
) |
| (hr) |
§ DXTRACE_MSG
#define DXTRACE_MSG |
( |
|
str | ) |
(0L) |
§ NOMINMAX
§ DXGetErrorDescriptionW()
void WINAPI DXGetErrorDescriptionW |
( |
_In_ HRESULT |
hr, |
|
|
_Out_cap_(count) WCHAR * |
desc, |
|
|
_In_ size_t |
count |
|
) |
| |
§ DXGetErrorStringW()
const WCHAR* WINAPI DXGetErrorStringW |
( |
_In_ HRESULT |
hr | ) |
|
§ DXTraceW()
HRESULT WINAPI DXTraceW |
( |
_In_z_ const WCHAR * |
strFile, |
|
|
_In_ DWORD |
dwLine, |
|
|
_In_ HRESULT |
hr, |
|
|
_In_opt_ const WCHAR * |
strMsg, |
|
|
_In_ bool |
bPopMsgBox |
|
) |
| |