kernel32: Added support for extended capacities in terminfo for xterm-like terminals.
[wine.git] / include / corerror.h
blob10e0bd22115e382792b21347d79060c51cde7d8a
1 /*
2 * Copyright 2008 James Hawkins
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_CORERROR_H
20 #define __WINE_CORERROR_H
22 #include <winerror.h>
24 #ifndef FACILITY_URT
25 #define FACILITY_URT 0x13
26 #endif
28 #ifndef EMAKEHR
29 #define SMAKEHR(val) MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_URT, val)
30 #define EMAKEHR(val) MAKE_HRESULT(SEVERITY_ERROR, FACILITY_URT, val)
31 #endif
33 #define COR_E_ARGUMENT E_INVALIDARG
34 #define COR_E_INVALIDCAST E_NOINTERFACE
35 #define COR_E_NULLREFERENCE E_POINTER
36 #define COR_E_OUTOFMEMORY E_OUTOFMEMORY
37 #define COR_E_UNAUTHORIZEDACCESS E_ACCESSDENIED
39 #define COR_E_ARITHMETIC HRESULT_FROM_WIN32(ERROR_ARITHMETIC_OVERFLOW)
40 #define COR_E_STACKOVERFLOW HRESULT_FROM_WIN32(ERROR_STACK_OVERFLOW)
41 #define COR_E_ENDOFSTREAM HRESULT_FROM_WIN32(ERROR_HANDLE_EOF)
42 #define COR_E_FILENOTFOUND HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)
43 #define COR_E_BAD_PATHNAME HRESULT_FROM_WIN32(ERROR_BAD_PATHNAME)
44 #define COR_E_DIRECTORYNOTFOUND HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND)
45 #define COR_E_PATHTOOLONG HRESULT_FROM_WIN32(ERROR_FILENAME_EXCED_RANGE)
47 #define COR_E_AMBIGUOUSMATCH _HRESULT_TYPEDEF_(0x8000211DL)
48 #define COR_E_TARGETPARAMCOUNT _HRESULT_TYPEDEF_(0x8002000EL)
49 #define COR_E_DIVIDEBYZERO _HRESULT_TYPEDEF_(0x80020012L)
50 #define COR_E_BADIMAGEFORMAT _HRESULT_TYPEDEF_(0x8007000BL)
52 #define COR_E_ASSEMBLYEXPECTED EMAKEHR(0x1018L)
53 #define COR_E_TYPEUNLOADED EMAKEHR(0x1013L)
54 #define COR_E_EXCEPTION EMAKEHR(0x1500L)
55 #define COR_E_SYSTEM EMAKEHR(0x1501L)
56 #define COR_E_ARGUMENTOUTOFRANGE EMAKEHR(0x1502L)
57 #define COR_E_ARRAYTYPEMISMATCH EMAKEHR(0x1503L)
58 #define COR_E_CONTEXTMARSHAL EMAKEHR(0x1504L)
59 #define COR_E_TIMEOUT EMAKEHR(0x1505L)
60 #define COR_E_EXECUTIONENGINE EMAKEHR(0x1506L)
61 #define COR_E_FIELDACCESS EMAKEHR(0x1507L)
62 #define COR_E_INDEXOUTOFRANGE EMAKEHR(0x1508L)
63 #define COR_E_INVALIDOPERATION EMAKEHR(0x1509L)
64 #define COR_E_SECURITY EMAKEHR(0x150AL)
65 #define COR_E_REMOTING EMAKEHR(0x150BL)
66 #define COR_E_SERIALIZATION EMAKEHR(0x150CL)
67 #define COR_E_VERIFICATION EMAKEHR(0x150DL)
68 #define COR_E_SERVER EMAKEHR(0x150EL)
69 #define COR_E_SERVICEDCOMPONENT EMAKEHR(0x150FL)
70 #define COR_E_METHODACCESS EMAKEHR(0x1510L)
71 #define COR_E_MISSINGFIELD EMAKEHR(0x1511L)
72 #define COR_E_MISSINGMEMBER EMAKEHR(0x1512L)
73 #define COR_E_MISSINGMETHOD EMAKEHR(0x1513L)
74 #define COR_E_MULTICASTNOTSUPPORTED EMAKEHR(0x1514L)
75 #define COR_E_NOTSUPPORTED EMAKEHR(0x1515L)
76 #define COR_E_OVERFLOW EMAKEHR(0x1516L)
77 #define COR_E_RANK EMAKEHR(0x1517L)
78 #define COR_E_SYNCHRONIZATIONLOCK EMAKEHR(0x1518L)
79 #define COR_E_THREADINTERRUPTED EMAKEHR(0x1519L)
80 #define COR_E_MEMBERACCESS EMAKEHR(0x151AL)
81 #define COR_E_THREADSTATE EMAKEHR(0x1520L)
82 #define COR_E_THREADSTOP EMAKEHR(0x1521L)
83 #define COR_E_TYPELOAD EMAKEHR(0x1522L)
84 #define COR_E_ENTRYPOINTNOTFOUND EMAKEHR(0x1523L)
85 #define COR_E_DLLNOTFOUND EMAKEHR(0x1524L)
86 #define COR_E_THREADSTART EMAKEHR(0x1525L)
87 #define COR_E_INVALIDCOMOBJECT EMAKEHR(0x1527L)
88 #define COR_E_NOTFINITENUMBER EMAKEHR(0x1528L)
89 #define COR_E_DUPLICATEWAITOBJECT EMAKEHR(0x1529L)
90 #define COR_E_SEMAPHOREFULL EMAKEHR(0x152BL)
91 #define COR_E_WAITHANDLECANNOTBEOPENED EMAKEHR(0x152CL)
92 #define COR_E_ABANDONEDMUTEX EMAKEHR(0x152DL)
93 #define COR_E_INVALIDOLEVARIANTTYPE EMAKEHR(0x1531L)
94 #define COR_E_MISSINGMANIFESTRESOURCE EMAKEHR(0x1532L)
95 #define COR_E_SAFEARRAYTYPEMISMATCH EMAKEHR(0x1533L)
96 #define COR_E_TYPEINITIALIZATION EMAKEHR(0x1534L)
97 #define COR_E_MARSHALDIRECTIVE EMAKEHR(0x1535L)
98 #define COR_E_MISSINGSATELLITEASSEMBLY EMAKEHR(0x1536L)
99 #define COR_E_FORMAT EMAKEHR(0x1537L)
100 #define COR_E_SAFEARRAYRANKMISMATCH EMAKEHR(0x1538L)
101 #define COR_E_PLATFORMNOTSUPPORTED EMAKEHR(0x1539L)
102 #define COR_E_INVALIDPROGRAM EMAKEHR(0x153AL)
103 #define COR_E_OPERATIONCANCELED EMAKEHR(0x153BL)
104 #define COR_E_INSUFFICIENTMEMORY EMAKEHR(0x153DL)
105 #define COR_E_RUNTIMEWRAPPED EMAKEHR(0x153EL)
106 #define COR_E_DEVICESNOTSUPPORTED EMAKEHR(0x1540L)
107 #define COR_E_DATAMISALIGNED EMAKEHR(0x1541L)
108 #define COR_E_KEYNOTFOUND EMAKEHR(0x1577L)
109 #define COR_E_APPLICATION EMAKEHR(0x1600L)
110 #define COR_E_INVALIDFILTERCRITERIA EMAKEHR(0x1601L)
111 #define COR_E_REFLECTIONTYPELOAD EMAKEHR(0x1602L)
112 #define COR_E_TARGET EMAKEHR(0x1603L)
113 #define COR_E_TARGETINVOCATION EMAKEHR(0x1604L)
114 #define COR_E_CUSTOMATTRIBUTEFORMAT EMAKEHR(0x1605L)
115 #define COR_E_IO EMAKEHR(0x1620L)
116 #define COR_E_FILELOAD EMAKEHR(0x1621L)
117 #define COR_E_OBJECTDISPOSED EMAKEHR(0x1622L)
118 #define COR_E_FAILFAST EMAKEHR(0x1623L)
119 #define COR_E_HOSTPROTECTION EMAKEHR(0x1640L)
120 #define COR_E_ILLEGAL_REENTRANCY EMAKEHR(0x1641L)
122 #define FUSION_E_INVALID_NAME EMAKEHR(0x1047)
124 #define CLDB_E_FILE_OLDVER EMAKEHR(0x1107)
126 #define CLR_E_SHIM_RUNTIME EMAKEHR(0x1700)
128 #endif /* __WINE_CORERROR_H */