Author: cwittich
Date: Fri Apr 20 01:04:40 2007
New Revision: 26426
URL:
http://svn.reactos.org/svn/reactos?rev=26426&view=rev
Log:
added some more defines (taken from wine)
Modified:
trunk/reactos/include/psdk/winerror.h
Modified: trunk/reactos/include/psdk/winerror.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winerror.h?re…
==============================================================================
--- trunk/reactos/include/psdk/winerror.h (original)
+++ trunk/reactos/include/psdk/winerror.h Fri Apr 20 01:04:40 2007
@@ -1889,19 +1889,48 @@
#define E_FAIL ((HRESULT)0x80004005L)
#define E_ACCESSDENIED ((HRESULT)0x80070005L)
#define E_PENDING ((HRESULT)0x8000000AL)
-#define CO_E_INIT_TLS ((HRESULT)0x80004006L)
-#define CO_E_INIT_SHARED_ALLOCATOR ((HRESULT)0x80004007L)
-#define CO_E_INIT_MEMORY_ALLOCATOR ((HRESULT)0x80004008L)
-#define CO_E_INIT_CLASS_CACHE ((HRESULT)0x80004009L)
-#define CO_E_INIT_RPC_CHANNEL ((HRESULT)0x8000400AL)
-#define CO_E_INIT_TLS_SET_CHANNEL_CONTROL ((HRESULT)0x8000400BL)
-#define CO_E_INIT_TLS_CHANNEL_CONTROL ((HRESULT)0x8000400CL)
-#define CO_E_INIT_UNACCEPTED_USER_ALLOCATOR ((HRESULT)0x8000400DL)
-#define CO_E_INIT_SCM_MUTEX_EXISTS ((HRESULT)0x8000400EL)
-#define CO_E_INIT_SCM_FILE_MAPPING_EXISTS ((HRESULT)0x8000400FL)
-#define CO_E_INIT_SCM_MAP_VIEW_OF_FILE ((HRESULT)0x80004010L)
-#define CO_E_INIT_SCM_EXEC_FAILURE ((HRESULT)0x80004011L)
-#define CO_E_INIT_ONLY_SINGLE_THREADED ((HRESULT)0x80004012L)
+#define CO_E_INIT_TLS
_HRESULT_TYPEDEF_(0x80004006L)
+#define CO_E_INIT_SHARED_ALLOCATOR
_HRESULT_TYPEDEF_(0x80004007L)
+#define CO_E_INIT_MEMORY_ALLOCATOR
_HRESULT_TYPEDEF_(0x80004008L)
+#define CO_E_INIT_CLASS_CACHE
_HRESULT_TYPEDEF_(0x80004009L)
+#define CO_E_INIT_RPC_CHANNEL
_HRESULT_TYPEDEF_(0x8000400AL)
+#define CO_E_INIT_TLS_SET_CHANNEL_CONTROL
_HRESULT_TYPEDEF_(0x8000400BL)
+#define CO_E_INIT_TLS_CHANNEL_CONTROL
_HRESULT_TYPEDEF_(0x8000400CL)
+#define CO_E_INIT_UNACCEPTED_USER_ALLOCATOR
_HRESULT_TYPEDEF_(0x8000400DL)
+#define CO_E_INIT_SCM_MUTEX_EXISTS
_HRESULT_TYPEDEF_(0x8000400EL)
+#define CO_E_INIT_SCM_FILE_MAPPING_EXISTS
_HRESULT_TYPEDEF_(0x8000400FL)
+#define CO_E_INIT_SCM_MAP_VIEW_OF_FILE
_HRESULT_TYPEDEF_(0x80004010L)
+#define CO_E_INIT_SCM_EXEC_FAILURE
_HRESULT_TYPEDEF_(0x80004011L)
+#define CO_E_INIT_ONLY_SINGLE_THREADED
_HRESULT_TYPEDEF_(0x80004012L)
+#define CO_E_CANT_REMOTE
_HRESULT_TYPEDEF_(0x80004013L)
+#define CO_E_BAD_SERVER_NAME
_HRESULT_TYPEDEF_(0x80004014L)
+#define CO_E_WRONG_SERVER_IDENTITY
_HRESULT_TYPEDEF_(0x80004015L)
+#define CO_E_OLE1DDE_DISABLED
_HRESULT_TYPEDEF_(0x80004016L)
+#define CO_E_RUNAS_SYNTAX
_HRESULT_TYPEDEF_(0x80004017L)
+#define CO_E_CREATEPROCESS_FAILURE
_HRESULT_TYPEDEF_(0x80004018L)
+#define CO_E_RUNAS_CREATEPROCESS_FAILURE
_HRESULT_TYPEDEF_(0x80004019L)
+#define CO_E_RUNAS_LOGON_FAILURE
_HRESULT_TYPEDEF_(0x8000401AL)
+#define CO_E_LAUNCH_PERMISSION_DENIED
_HRESULT_TYPEDEF_(0x8000401BL)
+#define CO_E_START_SERVICE_FAILURE
_HRESULT_TYPEDEF_(0x8000401CL)
+#define CO_E_REMOTE_COMMUNICATION_FAILURE
_HRESULT_TYPEDEF_(0x8000401DL)
+#define CO_E_SERVER_START_TIMEOUT
_HRESULT_TYPEDEF_(0x8000401EL)
+#define CO_E_CLSREG_INCONSISTENT
_HRESULT_TYPEDEF_(0x8000401FL)
+#define CO_E_IIDREG_INCONSISTENT
_HRESULT_TYPEDEF_(0x80004020L)
+#define CO_E_NOT_SUPPORTED
_HRESULT_TYPEDEF_(0x80004021L)
+#define CO_E_RELOAD_DLL
_HRESULT_TYPEDEF_(0x80004022L)
+#define CO_E_MSI_ERROR
_HRESULT_TYPEDEF_(0x80004023L)
+#define CO_E_ATTEMPT_TO_CREATE_OUTSIDE_CLIENT_CONTEXT
_HRESULT_TYPEDEF_(0x80004024L)
+#define CO_E_SERVER_PAUSED
_HRESULT_TYPEDEF_(0x80004025L)
+#define CO_E_SERVER_NOT_PAUSED
_HRESULT_TYPEDEF_(0x80004026L)
+#define CO_E_CLASS_DISABLED
_HRESULT_TYPEDEF_(0x80004027L)
+#define CO_E_CLRNOTAVAILABLE
_HRESULT_TYPEDEF_(0x80004028L)
+#define CO_E_ASYNC_WORK_REJECTED
_HRESULT_TYPEDEF_(0x80004029L)
+#define CO_E_SERVER_INIT_TIMEOUT
_HRESULT_TYPEDEF_(0x8000402AL)
+#define CO_E_NO_SECCTX_IN_ACTIVATE
_HRESULT_TYPEDEF_(0x8000402BL)
+#define CO_E_TRACKER_CONFIG
_HRESULT_TYPEDEF_(0x80004030L)
+#define CO_E_THREADPOOL_CONFIG
_HRESULT_TYPEDEF_(0x80004031L)
+#define CO_E_SXS_CONFIG
_HRESULT_TYPEDEF_(0x80004032L)
+#define CO_E_MALFORMED_SPN
_HRESULT_TYPEDEF_(0x80004033L)
#define S_OK ((HRESULT)0x00000000L)
#define SEC_E_OK ((HRESULT)0x00000000L)
#define S_FALSE ((HRESULT)0x00000001L)
@@ -2185,44 +2214,58 @@
#define STG_E_CSS_SCRAMBLED_SECTOR
_HRESULT_TYPEDEF_(0x80030309L)
#define STG_E_CSS_REGION_MISMATCH
_HRESULT_TYPEDEF_(0x8003030AL)
#define STG_E_RESETS_EXHAUSTED
_HRESULT_TYPEDEF_(0x8003030BL)
-#define RPC_E_CALL_REJECTED ((HRESULT)0x80010001L)
-#define RPC_E_CALL_CANCELED ((HRESULT)0x80010002L)
-#define RPC_E_CANTPOST_INSENDCALL ((HRESULT)0x80010003L)
-#define RPC_E_CANTCALLOUT_INASYNCCALL ((HRESULT)0x80010004L)
-#define RPC_E_CANTCALLOUT_INEXTERNALCALL ((HRESULT)0x80010005L)
-#define RPC_E_CONNECTION_TERMINATED ((HRESULT)0x80010006L)
-#define RPC_E_SERVER_DIED ((HRESULT)0x80010007L)
-#define RPC_E_CLIENT_DIED ((HRESULT)0x80010008L)
-#define RPC_E_INVALID_DATAPACKET ((HRESULT)0x80010009L)
-#define RPC_E_CANTTRANSMIT_CALL ((HRESULT)0x8001000AL)
-#define RPC_E_CLIENT_CANTMARSHAL_DATA ((HRESULT)0x8001000BL)
-#define RPC_E_CLIENT_CANTUNMARSHAL_DATA ((HRESULT)0x8001000CL)
-#define RPC_E_SERVER_CANTMARSHAL_DATA ((HRESULT)0x8001000DL)
-#define RPC_E_SERVER_CANTUNMARSHAL_DATA ((HRESULT)0x8001000EL)
-#define RPC_E_INVALID_DATA ((HRESULT)0x8001000FL)
-#define RPC_E_INVALID_PARAMETER ((HRESULT)0x80010010L)
-#define RPC_E_CANTCALLOUT_AGAIN ((HRESULT)0x80010011L)
-#define RPC_E_SERVER_DIED_DNE ((HRESULT)0x80010012L)
-#define RPC_E_SYS_CALL_FAILED ((HRESULT)0x80010100L)
-#define RPC_E_OUT_OF_RESOURCES ((HRESULT)0x80010101L)
-#define RPC_E_ATTEMPTED_MULTITHREAD ((HRESULT)0x80010102L)
-#define RPC_E_NOT_REGISTERED ((HRESULT)0x80010103L)
-#define RPC_E_FAULT ((HRESULT)0x80010104L)
-#define RPC_E_SERVERFAULT ((HRESULT)0x80010105L)
-#define RPC_E_CHANGED_MODE ((HRESULT)0x80010106L)
-#define RPC_E_INVALIDMETHOD ((HRESULT)0x80010107L)
-#define RPC_E_DISCONNECTED ((HRESULT)0x80010108L)
-#define RPC_E_RETRY ((HRESULT)0x80010109L)
-#define RPC_E_SERVERCALL_RETRYLATER ((HRESULT)0x8001010AL)
-#define RPC_E_SERVERCALL_REJECTED ((HRESULT)0x8001010BL)
-#define RPC_E_INVALID_CALLDATA ((HRESULT)0x8001010CL)
-#define RPC_E_CANTCALLOUT_ININPUTSYNCCALL ((HRESULT)0x8001010DL)
-#define RPC_E_WRONG_THREAD ((HRESULT)0x8001010EL)
-#define RPC_E_THREAD_NOT_INIT ((HRESULT)0x8001010FL)
-#define RPC_E_INVALID_OBJECT ((HRESULT)0x80010114L)
-#define RPC_S_CALLPENDING ((HRESULT)0x80010115L)
-#define RPC_E_INVALID_OBJREF ((HRESULT)0x8001011DL)
-#define RPC_E_UNEXPECTED ((HRESULT)0x8001FFFFL)
+#define RPC_E_CALL_REJECTED
_HRESULT_TYPEDEF_(0x80010001L)
+#define RPC_E_CALL_CANCELED
_HRESULT_TYPEDEF_(0x80010002L)
+#define RPC_E_CANTPOST_INSENDCALL
_HRESULT_TYPEDEF_(0x80010003L)
+#define RPC_E_CANTCALLOUT_INASYNCCALL
_HRESULT_TYPEDEF_(0x80010004L)
+#define RPC_E_CANTCALLOUT_INEXTERNALCALL
_HRESULT_TYPEDEF_(0x80010005L)
+#define RPC_E_CONNECTION_TERMINATED
_HRESULT_TYPEDEF_(0x80010006L)
+#define RPC_E_SERVER_DIED
_HRESULT_TYPEDEF_(0x80010007L)
+#define RPC_E_CLIENT_DIED
_HRESULT_TYPEDEF_(0x80010008L)
+#define RPC_E_INVALID_DATAPACKET
_HRESULT_TYPEDEF_(0x80010009L)
+#define RPC_E_CANTTRANSMIT_CALL
_HRESULT_TYPEDEF_(0x8001000AL)
+#define RPC_E_CLIENT_CANTMARSHAL_DATA
_HRESULT_TYPEDEF_(0x8001000BL)
+#define RPC_E_CLIENT_CANTUNMARSHAL_DATA
_HRESULT_TYPEDEF_(0x8001000CL)
+#define RPC_E_SERVER_CANTMARSHAL_DATA
_HRESULT_TYPEDEF_(0x8001000DL)
+#define RPC_E_SERVER_CANTUNMARSHAL_DATA
_HRESULT_TYPEDEF_(0x8001000EL)
+#define RPC_E_INVALID_DATA
_HRESULT_TYPEDEF_(0x8001000FL)
+#define RPC_E_INVALID_PARAMETER
_HRESULT_TYPEDEF_(0x80010010L)
+#define RPC_E_CANTCALLOUT_AGAIN
_HRESULT_TYPEDEF_(0x80010011L)
+#define RPC_E_SERVER_DIED_DNE
_HRESULT_TYPEDEF_(0x80010012L)
+#define RPC_E_SYS_CALL_FAILED
_HRESULT_TYPEDEF_(0x80010100L)
+#define RPC_E_OUT_OF_RESOURCES
_HRESULT_TYPEDEF_(0x80010101L)
+#define RPC_E_ATTEMPTED_MULTITHREAD
_HRESULT_TYPEDEF_(0x80010102L)
+#define RPC_E_NOT_REGISTERED
_HRESULT_TYPEDEF_(0x80010103L)
+#define RPC_E_FAULT
_HRESULT_TYPEDEF_(0x80010104L)
+#define RPC_E_SERVERFAULT
_HRESULT_TYPEDEF_(0x80010105L)
+#define RPC_E_CHANGED_MODE
_HRESULT_TYPEDEF_(0x80010106L)
+#define RPC_E_INVALIDMETHOD
_HRESULT_TYPEDEF_(0x80010107L)
+#define RPC_E_DISCONNECTED
_HRESULT_TYPEDEF_(0x80010108L)
+#define RPC_E_RETRY
_HRESULT_TYPEDEF_(0x80010109L)
+#define RPC_E_SERVERCALL_RETRYLATER
_HRESULT_TYPEDEF_(0x8001010AL)
+#define RPC_E_SERVERCALL_REJECTED
_HRESULT_TYPEDEF_(0x8001010BL)
+#define RPC_E_INVALID_CALLDATA
_HRESULT_TYPEDEF_(0x8001010CL)
+#define RPC_E_CANTCALLOUT_ININPUTSYNCCALL
_HRESULT_TYPEDEF_(0x8001010DL)
+#define RPC_E_WRONG_THREAD
_HRESULT_TYPEDEF_(0x8001010EL)
+#define RPC_E_THREAD_NOT_INIT
_HRESULT_TYPEDEF_(0x8001010FL)
+#define RPC_E_VERSION_MISMATCH
_HRESULT_TYPEDEF_(0x80010110L)
+#define RPC_E_INVALID_HEADER
_HRESULT_TYPEDEF_(0x80010111L)
+#define RPC_E_INVALID_EXTENSION
_HRESULT_TYPEDEF_(0x80010112L)
+#define RPC_E_INVALID_IPID
_HRESULT_TYPEDEF_(0x80010113L)
+#define RPC_E_INVALID_OBJECT
_HRESULT_TYPEDEF_(0x80010114L)
+#define RPC_S_CALLPENDING
_HRESULT_TYPEDEF_(0x80010115L)
+#define RPC_S_WAITONTIMER
_HRESULT_TYPEDEF_(0x80010116L)
+#define RPC_E_CALL_COMPLETE
_HRESULT_TYPEDEF_(0x80010117L)
+#define RPC_E_UNSECURE_CALL
_HRESULT_TYPEDEF_(0x80010118L)
+#define RPC_E_TOO_LATE
_HRESULT_TYPEDEF_(0x80010119L)
+#define RPC_E_NO_GOOD_SECURITY_PACKAGES
_HRESULT_TYPEDEF_(0x8001011AL)
+#define RPC_E_ACCESS_DENIED
_HRESULT_TYPEDEF_(0x8001011BL)
+#define RPC_E_REMOTE_DISABLED
_HRESULT_TYPEDEF_(0x8001011CL)
+#define RPC_E_INVALID_OBJREF
_HRESULT_TYPEDEF_(0x8001011DL)
+#define RPC_E_NO_CONTEXT
_HRESULT_TYPEDEF_(0x8001011EL)
+#define RPC_E_TIMEOUT
_HRESULT_TYPEDEF_(0x8001011FL)
+#define RPC_E_NO_SYNC
_HRESULT_TYPEDEF_(0x80010120L)
+#define RPC_E_UNEXPECTED
_HRESULT_TYPEDEF_(0x8001FFFFL)
#define NTE_BAD_UID ((HRESULT)0x80090001L)
#define NTE_BAD_HASH ((HRESULT)0x80090002L)