diff --git a/reactos/include/defines.h b/reactos/include/defines.h index 26ece09e508..8a5485f3ed7 100644 --- a/reactos/include/defines.h +++ b/reactos/include/defines.h @@ -1,4 +1,4 @@ -/* +/* Defines.h Windows32 API definitions @@ -42,28 +42,6 @@ #define STATUS_USER_APC (0x000000C0L) #define STATUS_TIMEOUT (0x00000102L) #define STATUS_PENDING (0x00000103L) -#define STATUS_GUARD_PAGE_VIOLATION (0x80000001L) -#define STATUS_DATATYPE_MISALIGNMENT (0x80000002L) -#define STATUS_BREAKPOINT (0x80000003L) -#define STATUS_SINGLE_STEP (0x80000004L) -#define STATUS_IN_PAGE_ERROR (0xC0000006L) -#define STATUS_INVALID_HANDLE (0xC0000008L) -#define STATUS_ILLEGAL_INSTRUCTION (0xC000001DL) -#define STATUS_NONCONTINUABLE_EXCEPTION (0xC0000025L) -#define STATUS_INVALID_DISPOSITION (0xC0000026L) -#define STATUS_ARRAY_BOUNDS_EXCEEDED (0xC000008CL) -#define STATUS_FLOAT_DENORMAL_OPERAND (0xC000008DL) -#define STATUS_FLOAT_DIVIDE_BY_ZERO (0xC000008EL) -#define STATUS_FLOAT_INEXACT_RESULT (0xC000008FL) -#define STATUS_FLOAT_INVALID_OPERATION (0xC0000090L) -#define STATUS_FLOAT_OVERFLOW (0xC0000091L) -#define STATUS_FLOAT_STACK_CHECK (0xC0000092L) -#define STATUS_FLOAT_UNDERFLOW (0xC0000093L) -#define STATUS_INTEGER_DIVIDE_BY_ZERO (0xC0000094L) -#define STATUS_INTEGER_OVERFLOW (0xC0000095L) -#define STATUS_PRIVILEGED_INSTRUCTION (0xC0000096L) -#define STATUS_STACK_OVERFLOW (0xC00000FDL) -#define STATUS_CONTROL_C_EXIT (0xC000013AL) #define SEC_COMMIT (134217728) #define SEC_IMAGE (16777216) @@ -213,12 +191,20 @@ #define TRUNCATE_EXISTING (5) #define FILE_ATTRIBUTE_ARCHIVE (32) #define FILE_ATTRIBUTE_COMPRESSED (2048) +#define FILE_ATTRIBUTE_DEVICE (64) #define FILE_ATTRIBUTE_NORMAL (128) #define FILE_ATTRIBUTE_DIRECTORY (16) +#define FILE_ATTRIBUTE_ENCRYPTED (16384) #define FILE_ATTRIBUTE_HIDDEN (2) +#define FILE_ATTRIBUTE_NOT_CONTENT_INDEXED (8192) +#define FILE_ATTRIBUTE_OFFLINE (4096) #define FILE_ATTRIBUTE_READONLY (1) +#define FILE_ATTRIBUTE_REPARSE_POINT (1024) +#define FILE_ATTRIBUTE_SPARSE_FILE (512) #define FILE_ATTRIBUTE_SYSTEM (4) #define FILE_ATTRIBUTE_TEMPORARY (256) +#define FILE_ATTRIBUTE_VALID_FLAGS 0x00007fb7 +#define FILE_ATTRIBUTE_VALID_SET_FLAGS 0x000031a7 #define FILE_FLAG_WRITE_THROUGH (2147483648) #define FILE_FLAG_OVERLAPPED (1073741824) #define FILE_FLAG_NO_BUFFERING (536870912) @@ -2023,8 +2009,6 @@ extern "C" { #define HEAP_GENERATE_EXCEPTIONS (4) #define HEAP_NO_SERIALIZE (1) #define HEAP_ZERO_MEMORY (8) -#define STATUS_NO_MEMORY (0xc0000017L) -#define STATUS_ACCESS_VIOLATION (0xc0000005L) #define HEAP_REALLOC_IN_PLACE_ONLY (16) /* ImageList_Create */