Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
dxerr.h File Reference
#include <Windows.h>
#include <sal.h>

Macros

#define DXGetErrorString   DXGetErrorStringW
 
#define DXGetErrorDescription   DXGetErrorDescriptionW
 
#define DXTrace   DXTraceW
 
#define DXTRACE_MSG(str)
 
#define DXTRACE_ERR(str, hr)
 
#define DXTRACE_ERR_MSGBOX(str, 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 )
Value:
(hr)

◆ DXTRACE_ERR_MSGBOX

#define DXTRACE_ERR_MSGBOX ( str,
hr )
Value:
(hr)

◆ DXTRACE_MSG

#define DXTRACE_MSG ( str)
Value:
(0L)

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 )