X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libs%2Floader%2Fwine%2Fwinerror.h;h=19a75c33a0516c697ceabbb0c7df74391b7ae106;hb=6ee1e193fd896ab9a4729fde14f009d9ce629815;hp=0c78792b9c3950d2dc0bae4d4b469430e4fcb4ae;hpb=3305b049e7f587b23359a1c9047fb5763d19c1dc;p=vlc diff --git a/libs/loader/wine/winerror.h b/libs/loader/wine/winerror.h index 0c78792b9c..19a75c33a0 100644 --- a/libs/loader/wine/winerror.h +++ b/libs/loader/wine/winerror.h @@ -8,15 +8,15 @@ extern int WIN32_LastError; #define FACILITY_RPC 1 #define FACILITY_DISPATCH 2 #define FACILITY_STORAGE 3 -#define FACILITY_ITF 4 -#define FACILITY_WIN32 7 +#define FACILITY_ITF 4 +#define FACILITY_WIN32 7 #define FACILITY_WINDOWS 8 #define FACILITY_SSPI 9 #define FACILITY_CONTROL 10 #define FACILITY_CERT 11 #define FACILITY_INTERNET 12 -#define SEVERITY_ERROR 1 +#define SEVERITY_ERROR 1 #define MAKE_HRESULT(sev,fac,code) \ @@ -1489,28 +1489,28 @@ extern int WIN32_LastError; #define DRAGDROP_E_ALREADYREGISTERED 0x80040101L #define DRAGDROP_S_USEDEFAULTCURSORS 0x00040102L -#define E_UNEXPECTED 0x8000FFFF +#define E_UNEXPECTED 0x8000FFFF -#define E_NOTIMPL 0x80004001 -#define E_NOINTERFACE 0x80004002 -#define E_POINTER 0x80004003 -#define E_ABORT 0x80004004 -#define E_FAIL 0x80004005 +#define E_NOTIMPL 0x80004001 +#define E_NOINTERFACE 0x80004002 +#define E_POINTER 0x80004003 +#define E_ABORT 0x80004004 +#define E_FAIL 0x80004005 #define E_UNSPEC E_FAIL /* must to be defined (used by FileMoniker, IOleLink and DoDragDrop as a return value) */ -/*#define CO_E_INIT_TLS 0x80004006 -#define CO_E_INIT_SHARED_ALLOCATOR 0x80004007 -#define CO_E_INIT_MEMORY_ALLOCATOR 0x80004008 -#define CO_E_INIT_CLASS_CACHE 0x80004009 -#define CO_E_INIT_RPC_CHANNEL 0x8000400A -#define CO_E_INIT_TLS_SET_CHANNEL_CONTROL 0x8000400B -#define CO_E_INIT_TLS_CHANNEL_CONTROL 0x8000400C -#define CO_E_INIT_UNACCEPTED_USER_ALLOCATOR 0x8000400D -#define CO_E_INIT_SCM_MUTEX_EXISTS 0x8000400E -#define CO_E_INIT_SCM_FILE_MAPPING_EXISTS 0x8000400F -#define CO_E_INIT_SCM_MAP_VIEW_OF_FILE 0x80004010 -#define CO_E_INIT_SCM_EXEC_FAILURE 0x80004011 -#define CO_E_INIT_ONLY_SINGLE_THREADED 0x80004012 */ +/*#define CO_E_INIT_TLS 0x80004006 +#define CO_E_INIT_SHARED_ALLOCATOR 0x80004007 +#define CO_E_INIT_MEMORY_ALLOCATOR 0x80004008 +#define CO_E_INIT_CLASS_CACHE 0x80004009 +#define CO_E_INIT_RPC_CHANNEL 0x8000400A +#define CO_E_INIT_TLS_SET_CHANNEL_CONTROL 0x8000400B +#define CO_E_INIT_TLS_CHANNEL_CONTROL 0x8000400C +#define CO_E_INIT_UNACCEPTED_USER_ALLOCATOR 0x8000400D +#define CO_E_INIT_SCM_MUTEX_EXISTS 0x8000400E +#define CO_E_INIT_SCM_FILE_MAPPING_EXISTS 0x8000400F +#define CO_E_INIT_SCM_MAP_VIEW_OF_FILE 0x80004010 +#define CO_E_INIT_SCM_EXEC_FAILURE 0x80004011 +#define CO_E_INIT_ONLY_SINGLE_THREADED 0x80004012 */ #define CO_S_NOTALLINTERFACES 0x00080012 #define CO_E_NOTINITIALIZED 0x800401F0 @@ -1522,15 +1522,15 @@ extern int WIN32_LastError; #define OLE_S_FIRST 0x00040000L #define OLE_S_LAST 0x000400FFL -#define OLE_E_ENUM_NOMORE 0x80040002 -#define OLE_E_ADVISENOTSUPPORTED 0x80040003 -#define OLE_E_NOCONNECTION 0x80040004 -#define OLE_E_NOTRUNNING 0x80040005 -#define OLE_E_NOCACHE 0x80040006 -#define OLE_E_BLANK 0x80040007 -#define OLE_E_NOT_INPLACEACTIVE 0x80040010 -#define OLE_E_STATIC 0x8004000B -#define OLE_E_PROMPTSAVECANCELLED 0x8004000C +#define OLE_E_ENUM_NOMORE 0x80040002 +#define OLE_E_ADVISENOTSUPPORTED 0x80040003 +#define OLE_E_NOCONNECTION 0x80040004 +#define OLE_E_NOTRUNNING 0x80040005 +#define OLE_E_NOCACHE 0x80040006 +#define OLE_E_BLANK 0x80040007 +#define OLE_E_NOT_INPLACEACTIVE 0x80040010 +#define OLE_E_STATIC 0x8004000B +#define OLE_E_PROMPTSAVECANCELLED 0x8004000C #define OLE_S_USEREG 0x00040000 #define OLE_S_STATIC 0x00040001 @@ -1540,14 +1540,14 @@ extern int WIN32_LastError; #define DV_E_TYMED 0x80040069 #define CLASS_E_NOAGGREGATION 0x80040110 -#define CLASS_E_CLASSNOTAVAILABLE 0x80040111 +#define CLASS_E_CLASSNOTAVAILABLE 0x80040111 #define DATA_S_SAMEFORMATETC 0x80040130 -#define E_ACCESSDENIED 0x80070005 -#define E_HANDLE 0x80070006 -#define E_OUTOFMEMORY 0x8007000E -#define E_INVALIDARG 0x80070057 +#define E_ACCESSDENIED 0x80070005 +#define E_HANDLE 0x80070006 +#define E_OUTOFMEMORY 0x8007000E +#define E_INVALIDARG 0x80070057 /*#define OLE_E_FIRST 0x80040000L */ /*#define OLE_E_LAST 0x800400FFL */ @@ -1575,39 +1575,39 @@ extern int WIN32_LastError; #define MK_E_NOSTORAGE 0x800401ED #define MK_E_NOPREFIX 0x800401EE -#define STG_E_INVALIDFUNCTION 0x80030001 -#define STG_E_FILENOTFOUND 0x80030002 -#define STG_E_PATHNOTFOUND 0x80030003 -#define STG_E_TOOMANYOPENFILES 0x80030004 -#define STG_E_ACCESSDENIED 0x80030005 -#define STG_E_INVALIDHANDLE 0x80030006 -#define STG_E_INSUFFICIENTMEMORY 0x80030008 -#define STG_E_INVALIDPOINTER 0x80030009 -#define STG_E_NOMOREFILES 0x80030012 -#define STG_E_DISKISWRITEPROTECTED 0x80030013 -#define STG_E_SEEKERROR 0x80030019 -#define STG_E_WRITEFAULT 0x8003001D -#define STG_E_READFAULT 0x8003001E -#define STG_E_SHAREVIOLATION 0x80030020 -#define STG_E_LOCKVIOLATION 0x80030021 -#define STG_E_FILEALREADYEXISTS 0x80030050 -#define STG_E_INVALIDPARAMETER 0x80030057 -#define STG_E_MEDIUMFULL 0x80030070 -#define STG_E_ABNORMALAPIEXIT 0x800300FA -#define STG_E_INVALIDHEADER 0x800300FB -#define STG_E_INVALIDNAME 0x800300FC -#define STG_E_UNKNOWN 0x800300FD -#define STG_E_UNIMPLEMENTEDFUNCTION 0x800300FE -#define STG_E_INVALIDFLAG 0x800300FF -#define STG_E_INUSE 0x80030100 -#define STG_E_NOTCURRENT 0x80030101 -#define STG_E_REVERTED 0x80030102 -#define STG_E_CANTSAVE 0x80030103 -#define STG_E_OLDFORMAT 0x80030104 -#define STG_E_OLDDLL 0x80030105 -#define STG_E_SHAREREQUIRED 0x80030106 -#define STG_E_NOTFILEBASEDSTORAGE 0x80030107 -#define STG_E_EXTANTMARSHALLINGS 0x80030108 +#define STG_E_INVALIDFUNCTION 0x80030001 +#define STG_E_FILENOTFOUND 0x80030002 +#define STG_E_PATHNOTFOUND 0x80030003 +#define STG_E_TOOMANYOPENFILES 0x80030004 +#define STG_E_ACCESSDENIED 0x80030005 +#define STG_E_INVALIDHANDLE 0x80030006 +#define STG_E_INSUFFICIENTMEMORY 0x80030008 +#define STG_E_INVALIDPOINTER 0x80030009 +#define STG_E_NOMOREFILES 0x80030012 +#define STG_E_DISKISWRITEPROTECTED 0x80030013 +#define STG_E_SEEKERROR 0x80030019 +#define STG_E_WRITEFAULT 0x8003001D +#define STG_E_READFAULT 0x8003001E +#define STG_E_SHAREVIOLATION 0x80030020 +#define STG_E_LOCKVIOLATION 0x80030021 +#define STG_E_FILEALREADYEXISTS 0x80030050 +#define STG_E_INVALIDPARAMETER 0x80030057 +#define STG_E_MEDIUMFULL 0x80030070 +#define STG_E_ABNORMALAPIEXIT 0x800300FA +#define STG_E_INVALIDHEADER 0x800300FB +#define STG_E_INVALIDNAME 0x800300FC +#define STG_E_UNKNOWN 0x800300FD +#define STG_E_UNIMPLEMENTEDFUNCTION 0x800300FE +#define STG_E_INVALIDFLAG 0x800300FF +#define STG_E_INUSE 0x80030100 +#define STG_E_NOTCURRENT 0x80030101 +#define STG_E_REVERTED 0x80030102 +#define STG_E_CANTSAVE 0x80030103 +#define STG_E_OLDFORMAT 0x80030104 +#define STG_E_OLDDLL 0x80030105 +#define STG_E_SHAREREQUIRED 0x80030106 +#define STG_E_NOTFILEBASEDSTORAGE 0x80030107 +#define STG_E_EXTANTMARSHALLINGS 0x80030108 #define CONVERT10_E_OLESTREAM_GET 0x800401C0 #define CONVERT10_E_OLESTREAM_PUT 0x800401C1 @@ -1618,18 +1618,18 @@ extern int WIN32_LastError; #define CONVERT10_E_STG_DIB_TO_BITMAP 0x800401C6 /* alten versionen -#define E_NOTIMPL 0x80000001 -#define E_OUTOFMEMORY 0x80000002 -#define E_INVALIDARG 0x80000003 -#define E_NOINTERFACE 0x80000004 -#define E_POINTER 0x80000005 -#define E_HANDLE 0x80000006 -#define E_ABORT 0x80000007 -#define E_FAIL 0x80000008 -#define E_ACCESSDENIED 0x80000009 */ +#define E_NOTIMPL 0x80000001 +#define E_OUTOFMEMORY 0x80000002 +#define E_INVALIDARG 0x80000003 +#define E_NOINTERFACE 0x80000004 +#define E_POINTER 0x80000005 +#define E_HANDLE 0x80000006 +#define E_ABORT 0x80000007 +#define E_FAIL 0x80000008 +#define E_ACCESSDENIED 0x80000009 */ /* Obtained from lcc-win32 include files */ -#define GDI_ERROR 0xffffffff +#define GDI_ERROR 0xffffffff /* registry errors */ @@ -1648,7 +1648,7 @@ extern int WIN32_LastError; #define CLASS_E_NOTLICENSED (CLASSFACTORY_E_FIRST+2) #define CLASS_E_NOAGGREGATION 0x80040110 -#define CLASS_E_CLASSNOTAVAILABLE 0x80040111 +#define CLASS_E_CLASSNOTAVAILABLE 0x80040111 #define OLEOBJ_E_NOVERBS 0x00040180L