Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
dxerr.h File Reference
#include <windows.h>
#include <sal.h>

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

◆ DXGetErrorString

#define DXGetErrorString   DXGetErrorStringW

◆ DXTrace

#define DXTrace   DXTraceW

◆ 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

#define NOMINMAX

Function Documentation

◆ 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 
)