MCPcopy Create free account
hub / github.com/GPUOpen-Effects/GeometryFX / DXGetErrorStringW

Function DXGetErrorStringW

framework/d3d11/dxut/Core/dxerr.cpp:72–3281  ·  view source on GitHub ↗

-----------------------------------------------------

Source from the content-addressed store, hash-verified

70
71//-----------------------------------------------------
72const WCHAR* WINAPI DXGetErrorStringW( _In_ HRESULT hr )
73{
74 switch(hr)
75 {
76// Commmented out codes are actually alises for other codes
77
78// -------------------------------------------------------------
79// Common Win32 error codes
80// -------------------------------------------------------------
81 CHK_ERRA(S_OK)
82 CHK_ERRA(S_FALSE)
83
84 CHK_ERRA(E_UNEXPECTED)
85 CHK_ERRA(E_NOTIMPL)
86 CHK_ERRA(E_OUTOFMEMORY)
87 CHK_ERRA(E_INVALIDARG)
88 CHK_ERRA(E_NOINTERFACE)
89 CHK_ERRA(E_POINTER)
90 CHK_ERRA(E_HANDLE)
91 CHK_ERRA(E_ABORT)
92 CHK_ERRA(E_FAIL)
93 CHK_ERRA(E_ACCESSDENIED)
94 CHK_ERRA(E_PENDING)
95 CHK_ERRA(CO_E_INIT_TLS)
96 CHK_ERRA(CO_E_INIT_SHARED_ALLOCATOR)
97 CHK_ERRA(CO_E_INIT_MEMORY_ALLOCATOR)
98 CHK_ERRA(CO_E_INIT_CLASS_CACHE)
99 CHK_ERRA(CO_E_INIT_RPC_CHANNEL)
100 CHK_ERRA(CO_E_INIT_TLS_SET_CHANNEL_CONTROL)
101 CHK_ERRA(CO_E_INIT_TLS_CHANNEL_CONTROL)
102 CHK_ERRA(CO_E_INIT_UNACCEPTED_USER_ALLOCATOR)
103 CHK_ERRA(CO_E_INIT_SCM_MUTEX_EXISTS)
104 CHK_ERRA(CO_E_INIT_SCM_FILE_MAPPING_EXISTS)
105 CHK_ERRA(CO_E_INIT_SCM_MAP_VIEW_OF_FILE)
106 CHK_ERRA(CO_E_INIT_SCM_EXEC_FAILURE)
107 CHK_ERRA(CO_E_INIT_ONLY_SINGLE_THREADED)
108 CHK_ERRA(CO_E_CANT_REMOTE)
109 CHK_ERRA(CO_E_BAD_SERVER_NAME)
110 CHK_ERRA(CO_E_WRONG_SERVER_IDENTITY)
111 CHK_ERRA(CO_E_OLE1DDE_DISABLED)
112 CHK_ERRA(CO_E_RUNAS_SYNTAX)
113 CHK_ERRA(CO_E_CREATEPROCESS_FAILURE)
114 CHK_ERRA(CO_E_RUNAS_CREATEPROCESS_FAILURE)
115 CHK_ERRA(CO_E_RUNAS_LOGON_FAILURE)
116 CHK_ERRA(CO_E_LAUNCH_PERMSSION_DENIED)
117 CHK_ERRA(CO_E_START_SERVICE_FAILURE)
118 CHK_ERRA(CO_E_REMOTE_COMMUNICATION_FAILURE)
119 CHK_ERRA(CO_E_SERVER_START_TIMEOUT)
120 CHK_ERRA(CO_E_CLSREG_INCONSISTENT)
121 CHK_ERRA(CO_E_IIDREG_INCONSISTENT)
122 CHK_ERRA(CO_E_NOT_SUPPORTED)
123 CHK_ERRA(CO_E_RELOAD_DLL)
124 CHK_ERRA(CO_E_MSI_ERROR)
125 CHK_ERRA(OLE_E_FIRST)
126 CHK_ERRA(OLE_E_LAST)
127 CHK_ERRA(OLE_S_FIRST)
128 CHK_ERRA(OLE_S_LAST)
129// CHK_ERRA(OLE_E_OLEVERB)

Callers 1

DXTraceWFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected