![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include "dxerr.h"
#include <stdio.h>
#include <algorithm>
#include <ddraw.h>
#include <d3d9.h>
#include <mmsystem.h>
#include <dsound.h>
#include <dinput.h>
#include <dinputd.h>
#include <d3d10_1.h>
#include <d3d11_1.h>
#include <wincodec.h>
#include <d2derr.h>
#include <dwrite.h>
Macros | |
#define | DIRECTINPUT_VERSION 0x800 |
#define | XAUDIO2_E_INVALID_CALL 0x88960001 |
#define | XAUDIO2_E_XMA_DECODER_ERROR 0x88960002 |
#define | XAUDIO2_E_XAPO_CREATION_FAILED 0x88960003 |
#define | XAUDIO2_E_DEVICE_INVALIDATED 0x88960004 |
#define | XAPO_E_FORMAT_UNSUPPORTED MAKE_HRESULT(SEVERITY_ERROR, 0x897, 0x01) |
#define | DXUTERR_NODIRECT3D MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0901) |
#define | DXUTERR_NOCOMPATIBLEDEVICES MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0902) |
#define | DXUTERR_MEDIANOTFOUND MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0903) |
#define | DXUTERR_NONZEROREFCOUNT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0904) |
#define | DXUTERR_CREATINGDEVICE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0905) |
#define | DXUTERR_RESETTINGDEVICE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0906) |
#define | DXUTERR_CREATINGDEVICEOBJECTS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0907) |
#define | DXUTERR_RESETTINGDEVICEOBJECTS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0908) |
#define | DXUTERR_INCORRECTVERSION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0909) |
#define | DXUTERR_DEVICEREMOVED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x090A) |
#define | BUFFER_SIZE 3000 |
#define | CHK_ERR(hrchk, strOut) |
#define | CHK_ERRA(hrchk) |
#define | HRESULT_FROM_WIN32b(x) |
#define | CHK_ERR_WIN32A(hrchk) |
#define | CHK_ERR_WIN32_ONLY(hrchk, strOut) |
#define | CHK_ERRA(hrchk) |
#define | CHK_ERR(hrchk, strOut) |
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) |
#define BUFFER_SIZE 3000 |
#define CHK_ERR | ( | hrchk, | |
strOut ) |
#define CHK_ERR | ( | hrchk, | |
strOut ) |
#define CHK_ERR_WIN32_ONLY | ( | hrchk, | |
strOut ) |
#define CHK_ERR_WIN32A | ( | hrchk | ) |
#define CHK_ERRA | ( | hrchk | ) |
#define CHK_ERRA | ( | hrchk | ) |
#define DIRECTINPUT_VERSION 0x800 |
#define DXUTERR_CREATINGDEVICE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0905) |
#define DXUTERR_CREATINGDEVICEOBJECTS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0907) |
#define DXUTERR_DEVICEREMOVED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x090A) |
#define DXUTERR_INCORRECTVERSION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0909) |
#define DXUTERR_MEDIANOTFOUND MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0903) |
#define DXUTERR_NOCOMPATIBLEDEVICES MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0902) |
#define DXUTERR_NODIRECT3D MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0901) |
#define DXUTERR_NONZEROREFCOUNT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0904) |
#define DXUTERR_RESETTINGDEVICE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0906) |
#define DXUTERR_RESETTINGDEVICEOBJECTS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0908) |
#define HRESULT_FROM_WIN32b | ( | x | ) |
#define XAPO_E_FORMAT_UNSUPPORTED MAKE_HRESULT(SEVERITY_ERROR, 0x897, 0x01) |
#define XAUDIO2_E_DEVICE_INVALIDATED 0x88960004 |
#define XAUDIO2_E_INVALID_CALL 0x88960001 |
#define XAUDIO2_E_XAPO_CREATION_FAILED 0x88960003 |
#define XAUDIO2_E_XMA_DECODER_ERROR 0x88960002 |
void WINAPI DXGetErrorDescriptionW | ( | _In_ HRESULT | hr, |
_Out_cap_(count) WCHAR * | desc, | ||
_In_ size_t | count ) |
const WCHAR *WINAPI DXGetErrorStringW | ( | _In_ HRESULT | hr | ) |