Commit 056a8f1d authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

include: Add more error codes.

parent 9602fa7a
...@@ -1045,7 +1045,6 @@ typedef struct COPYFILE2_EXTENDED_PARAMETERS ...@@ -1045,7 +1045,6 @@ typedef struct COPYFILE2_EXTENDED_PARAMETERS
#define WAIT_ABANDONED STATUS_ABANDONED_WAIT_0 #define WAIT_ABANDONED STATUS_ABANDONED_WAIT_0
#define WAIT_ABANDONED_0 STATUS_ABANDONED_WAIT_0 #define WAIT_ABANDONED_0 STATUS_ABANDONED_WAIT_0
#define WAIT_IO_COMPLETION STATUS_USER_APC #define WAIT_IO_COMPLETION STATUS_USER_APC
#define WAIT_TIMEOUT STATUS_TIMEOUT
#define STILL_ACTIVE STATUS_PENDING #define STILL_ACTIVE STATUS_PENDING
#define FILE_BEGIN 0 #define FILE_BEGIN 0
......
...@@ -239,6 +239,7 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x) ...@@ -239,6 +239,7 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x)
#define ERROR_MAX_THRDS_REACHED 164 #define ERROR_MAX_THRDS_REACHED 164
#define ERROR_LOCK_FAILED 167 #define ERROR_LOCK_FAILED 167
#define ERROR_BUSY 170 #define ERROR_BUSY 170
#define ERROR_DEVICE_SUPPORT_IN_PROGRESS 171
#define ERROR_CANCEL_VIOLATION 173 #define ERROR_CANCEL_VIOLATION 173
#define ERROR_ATOMIC_LOCKS_NOT_SUPPORTED 174 #define ERROR_ATOMIC_LOCKS_NOT_SUPPORTED 174
#define ERROR_INVALID_SEGMENT_NUMBER 180 #define ERROR_INVALID_SEGMENT_NUMBER 180
...@@ -272,6 +273,16 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x) ...@@ -272,6 +273,16 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x)
#define ERROR_TOO_MANY_MODULES 214 #define ERROR_TOO_MANY_MODULES 214
#define ERROR_NESTING_NOT_ALLOWED 215 #define ERROR_NESTING_NOT_ALLOWED 215
#define ERROR_EXE_MACHINE_TYPE_MISMATCH 216 #define ERROR_EXE_MACHINE_TYPE_MISMATCH 216
#define ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY 217
#define ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY 218
#define ERROR_FILE_CHECKED_OUT 220
#define ERROR_CHECKOUT_REQUIRED 221
#define ERROR_BAD_FILE_TYPE 222
#define ERROR_FILE_TOO_LARGE 223
#define ERROR_FORMS_AUTH_REQUIRED 224
#define ERROR_VIRUS_INFECTED 225
#define ERROR_VIRUS_DELETED 226
#define ERROR_PIPE_LOCAL 229
#define ERROR_BAD_PIPE 230 #define ERROR_BAD_PIPE 230
#define ERROR_PIPE_BUSY 231 #define ERROR_PIPE_BUSY 231
#define ERROR_NO_DATA 232 #define ERROR_NO_DATA 232
...@@ -280,6 +291,7 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x) ...@@ -280,6 +291,7 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x)
#define ERROR_VC_DISCONNECTED 240 #define ERROR_VC_DISCONNECTED 240
#define ERROR_INVALID_EA_NAME 254 #define ERROR_INVALID_EA_NAME 254
#define ERROR_EA_LIST_INCONSISTENT 255 #define ERROR_EA_LIST_INCONSISTENT 255
#define WAIT_TIMEOUT 258
#define ERROR_NO_MORE_ITEMS 259 #define ERROR_NO_MORE_ITEMS 259
#define ERROR_CANNOT_COPY 266 #define ERROR_CANNOT_COPY 266
#define ERROR_DIRECTORY 267 #define ERROR_DIRECTORY 267
...@@ -294,8 +306,44 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x) ...@@ -294,8 +306,44 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x)
#define ERROR_OPLOCK_NOT_GRANTED 300 #define ERROR_OPLOCK_NOT_GRANTED 300
#define ERROR_INVALID_OPLOCK_PROTOCOL 301 #define ERROR_INVALID_OPLOCK_PROTOCOL 301
#define ERROR_DISK_TOO_FRAGMENTED 302 #define ERROR_DISK_TOO_FRAGMENTED 302
#define ERROR_DELETE_PENDING 303
#define ERROR_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING 304
#define ERROR_SHORT_NAMES_NOT_ENABLED_ON_VOLUME 305
#define ERROR_SECURITY_STREAM_IS_INCONSISTENT 306
#define ERROR_INVALID_LOCK_RANGE 307
#define ERROR_IMAGE_SUBSYSTEM_NOT_PRESENT 308
#define ERROR_NOTIFICATION_GUID_ALREADY_DEFINED 309
#define ERROR_INVALID_EXCEPTION_HANDLER 310
#define ERROR_DUPLICATE_PRIVILEGES 311
#define ERROR_NO_RANGES_PROCESSED 312
#define ERROR_NOT_ALLOWED_ON_SYSTEM_FILE 313
#define ERROR_DISK_RESOURCES_EXHAUSTED 314
#define ERROR_INVALID_TOKEN 315
#define ERROR_DEVICE_FEATURE_NOT_SUPPORTED 316
#define ERROR_MR_MID_NOT_FOUND 317 #define ERROR_MR_MID_NOT_FOUND 317
#define ERROR_SCOPE_NOT_FOUND 318 #define ERROR_SCOPE_NOT_FOUND 318
#define ERROR_UNDEFINED_SCOPE 319
#define ERROR_INVALID_CAP 320
#define ERROR_DEVICE_UNREACHABLE 321
#define ERROR_DEVICE_NO_RESOURCES 322
#define ERROR_DATA_CHECKSUM_ERROR 323
#define ERROR_INTERMIXED_KERNEL_EA_OPERATION 324
#define ERROR_FILE_LEVEL_TRIM_NOT_SUPPORTED 326
#define ERROR_OFFSET_ALIGNMENT_VIOLATION 327
#define ERROR_INVALID_FIELD_IN_PARAMETER_LIST 328
#define ERROR_OPERATION_IN_PROGRESS 329
#define ERROR_BAD_DEVICE_PATH 330
#define ERROR_TOO_MANY_DESCRIPTORS 331
#define ERROR_SCRUB_DATA_DISABLED 332
#define ERROR_NOT_REDUNDANT_STORAGE 333
#define ERROR_RESIDENT_FILE_NOT_SUPPORTED 334
#define ERROR_COMPRESSED_FILE_NOT_SUPPORTED 335
#define ERROR_DIRECTORY_NOT_SUPPORTED 336
#define ERROR_NOT_READ_FROM_COPY 337
#define ERROR_FT_WRITE_FAILURE 338
#define ERROR_FT_DI_SCAN_REQUIRED 339
#define ERROR_INVALID_KERNEL_INFO_VERSION 340
#define ERROR_INVALID_PEP_INFO_VERSION 341
#define ERROR_FAIL_NOACTION_REBOOT 350 #define ERROR_FAIL_NOACTION_REBOOT 350
#define ERROR_FAIL_SHUTDOWN 351 #define ERROR_FAIL_SHUTDOWN 351
#define ERROR_FAIL_RESTART 352 #define ERROR_FAIL_RESTART 352
...@@ -463,7 +511,15 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x) ...@@ -463,7 +511,15 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x)
#define ERROR_FIRMWARE_UPDATED 728 #define ERROR_FIRMWARE_UPDATED 728
#define ERROR_DRIVERS_LEAKING_LOCKED_PAGES 729 #define ERROR_DRIVERS_LEAKING_LOCKED_PAGES 729
#define ERROR_WAKE_SYSTEM 730 #define ERROR_WAKE_SYSTEM 730
#define ERROR_WAIT_1 731
#define ERROR_WAIT_2 732
#define ERROR_WAIT_3 733
#define ERROR_WAIT_63 734
#define ERROR_ABANDONED_WAIT_0 735 #define ERROR_ABANDONED_WAIT_0 735
#define ERROR_ABANDONED_WAIT_63 736
#define ERROR_USER_APC 737
#define ERROR_KERNEL_APC 738
#define ERROR_ALERTED 739
#define ERROR_ELEVATION_REQUIRED 740 #define ERROR_ELEVATION_REQUIRED 740
#define ERROR_REPARSE 741 #define ERROR_REPARSE 741
#define ERROR_OPLOCK_BREAK_IN_PROGRESS 742 #define ERROR_OPLOCK_BREAK_IN_PROGRESS 742
...@@ -515,6 +571,8 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x) ...@@ -515,6 +571,8 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x)
#define ERROR_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED 788 #define ERROR_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED 788
#define ERROR_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR 789 #define ERROR_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR 789
#define ERROR_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR 790 #define ERROR_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR 790
#define ERROR_NO_ACE_CONDITION 804
#define ERROR_INVALID_ACE_CONDITION 805
#define ERROR_EA_ACCESS_DENIED 994 #define ERROR_EA_ACCESS_DENIED 994
#define ERROR_OPERATION_ABORTED 995 #define ERROR_OPERATION_ABORTED 995
#define ERROR_IO_INCOMPLETE 996 #define ERROR_IO_INCOMPLETE 996
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment