Avionics
Dropship Simulator
dxerr.h File Reference
#include <windows.h>
#include <sal.h>
Include dependency graph for dxerr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NOMINMAX
 
#define DXGetErrorString   DXGetErrorStringW
 
#define DXGetErrorDescription   DXGetErrorDescriptionW
 
#define DXTrace   DXTraceW
 
#define DXTRACE_MSG(str)   (0L)
 
#define DXTRACE_ERR(str, hr)   (hr)
 
#define DXTRACE_ERR_MSGBOX(str, hr)   (hr)
 

Functions

const WCHAR *WINAPI DXGetErrorStringW (_In_ HRESULT hr)
 
void WINAPI DXGetErrorDescriptionW (_In_ HRESULT hr, _Out_cap_(count) WCHAR *desc, _In_ size_t count)
 
HRESULT WINAPI DXTraceW (_In_z_ const WCHAR *strFile, _In_ DWORD dwLine, _In_ HRESULT hr, _In_opt_ const WCHAR *strMsg, _In_ bool bPopMsgBox)
 

Macro Definition Documentation

◆ DXGetErrorDescription

#define DXGetErrorDescription   DXGetErrorDescriptionW

Definition at line 42 of file dxerr.h.

◆ DXGetErrorString

#define DXGetErrorString   DXGetErrorStringW

Definition at line 34 of file dxerr.h.

◆ DXTrace

#define DXTrace   DXTraceW

Definition at line 61 of file dxerr.h.

◆ DXTRACE_ERR

#define DXTRACE_ERR (   str,
  hr 
)    (hr)

Definition at line 74 of file dxerr.h.

◆ DXTRACE_ERR_MSGBOX

#define DXTRACE_ERR_MSGBOX (   str,
  hr 
)    (hr)

Definition at line 75 of file dxerr.h.

◆ DXTRACE_MSG

#define DXTRACE_MSG (   str)    (0L)

Definition at line 73 of file dxerr.h.

◆ NOMINMAX

#define NOMINMAX

Definition at line 19 of file dxerr.h.

Function Documentation

◆ DXGetErrorDescriptionW()

void WINAPI DXGetErrorDescriptionW ( _In_ HRESULT  hr,
_Out_cap_(count) WCHAR *  desc,
_In_ size_t  count 
)

Definition at line 3460 of file dxerr.cpp.

◆ DXGetErrorStringW()

const WCHAR* WINAPI DXGetErrorStringW ( _In_ HRESULT  hr)

Definition at line 84 of file dxerr.cpp.

Here is the caller graph for this function:

◆ DXTraceW()

HRESULT WINAPI DXTraceW ( _In_z_ const WCHAR *  strFile,
_In_ DWORD  dwLine,
_In_ HRESULT  hr,
_In_opt_ const WCHAR *  strMsg,
_In_ bool  bPopMsgBox 
)

Definition at line 3911 of file dxerr.cpp.

Here is the call graph for this function: