From 9f8935d823cd554856e15015bf6225bfcee8db82 Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Tue, 14 Jan 2020 12:01:00 -0600 Subject: [PATCH] include: Add more NTSTATUS codes. Signed-off-by: Zebediah Figura Signed-off-by: Alexandre Julliard --- include/ntstatus.h | 5 +++++ include/winnt.h | 12 ++++++++++++ 2 files changed, 17 insertions(+) diff --git a/include/ntstatus.h b/include/ntstatus.h index a91ce977318..682db7a5660 100644 --- a/include/ntstatus.h +++ b/include/ntstatus.h @@ -868,6 +868,10 @@ #define STATUS_DRIVER_DATABASE_ERROR ((NTSTATUS) 0xC000036D) #define STATUS_SYSTEM_HIVE_TOO_LARGE ((NTSTATUS) 0xC000036E) #define STATUS_INVALID_IMPORT_OF_NON_DLL ((NTSTATUS) 0xC000036F) +#define STATUS_NO_SECRETS ((NTSTATUS) 0xC0000371) +#define STATUS_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY ((NTSTATUS) 0xC0000372) +#define STATUS_FAILED_STACK_SWITCH ((NTSTATUS) 0xC0000373) +#define STATUS_HEAP_CORRUPTION ((NTSTATUS) 0xC0000374) #define STATUS_SMARTCARD_WRONG_PIN ((NTSTATUS) 0xC0000380) #define STATUS_SMARTCARD_CARD_BLOCKED ((NTSTATUS) 0xC0000381) #define STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED ((NTSTATUS) 0xC0000382) @@ -1411,6 +1415,7 @@ #define DBG_RIPEXCEPTION ((NTSTATUS) 0x40010007) #define DBG_CONTROL_BREAK ((NTSTATUS) 0x40010008) #define DBG_COMMAND_EXCEPTION ((NTSTATUS) 0x40010009) +#define DBG_PRINTEXCEPTION_WIDE_C ((NTSTATUS) 0x4001000A) #define DBG_EXCEPTION_NOT_HANDLED ((NTSTATUS) 0x80010001) #endif /* WIN32_NO_STATUS */ diff --git a/include/winnt.h b/include/winnt.h index 56734f178d3..41fb6a82897 100644 --- a/include/winnt.h +++ b/include/winnt.h @@ -607,10 +607,13 @@ typedef DWORD FLONG; #define STATUS_TIMEOUT ((DWORD) 0x00000102) #define STATUS_PENDING ((DWORD) 0x00000103) #define STATUS_SEGMENT_NOTIFICATION ((DWORD) 0x40000005) +#define STATUS_FATAL_APP_EXIT ((DWORD) 0x40000015) #define STATUS_GUARD_PAGE_VIOLATION ((DWORD) 0x80000001) #define STATUS_DATATYPE_MISALIGNMENT ((DWORD) 0x80000002) #define STATUS_BREAKPOINT ((DWORD) 0x80000003) #define STATUS_SINGLE_STEP ((DWORD) 0x80000004) +#define STATUS_LONGJUMP ((DWORD) 0x80000026) +#define STATUS_UNWIND_CONSOLIDATE ((DWORD) 0x80000029) #define STATUS_ACCESS_VIOLATION ((DWORD) 0xC0000005) #define STATUS_IN_PAGE_ERROR ((DWORD) 0xC0000006) #define STATUS_INVALID_HANDLE ((DWORD) 0xC0000008) @@ -630,10 +633,18 @@ typedef DWORD FLONG; #define STATUS_INTEGER_OVERFLOW ((DWORD) 0xC0000095) #define STATUS_PRIVILEGED_INSTRUCTION ((DWORD) 0xC0000096) #define STATUS_STACK_OVERFLOW ((DWORD) 0xC00000FD) +#define STATUS_DLL_NOT_FOUND ((DWORD) 0xC0000135) +#define STATUS_ORDINAL_NOT_FOUND ((DWORD) 0xC0000138) +#define STATUS_ENTRYPOINT_NOT_FOUND ((DWORD) 0xC0000139) #define STATUS_CONTROL_C_EXIT ((DWORD) 0xC000013A) +#define STATUS_DLL_INIT_FAILED ((DWORD) 0xC0000142) #define STATUS_FLOAT_MULTIPLE_FAULTS ((DWORD) 0xC00002B4) #define STATUS_FLOAT_MULTIPLE_TRAPS ((DWORD) 0xC00002B5) #define STATUS_REG_NAT_CONSUMPTION ((DWORD) 0xC00002C9) +#define STATUS_HEAP_CORRUPTION ((DWORD) 0xC0000374) +#define STATUS_STACK_BUFFER_OVERRUN ((DWORD) 0xC0000409) +#define STATUS_INVALID_CRUNTIME_PARAMETER ((DWORD) 0xC0000417) +#define STATUS_ASSERTION_FAILURE ((DWORD) 0xC0000420) #define STATUS_SXS_EARLY_DEACTIVATION ((DWORD) 0xC015000F) #define STATUS_SXS_INVALID_DEACTIVATION ((DWORD) 0xC0150010) @@ -647,6 +658,7 @@ typedef DWORD FLONG; #define DBG_RIPEXCEPTION ((DWORD) 0x40010007) #define DBG_CONTROL_BREAK ((DWORD) 0x40010008) #define DBG_COMMAND_EXCEPTION ((DWORD) 0x40010009) +#define DBG_PRINTEXCEPTION_WIDE_C ((DWORD) 0x4001000A) #define DBG_EXCEPTION_NOT_HANDLED ((DWORD) 0x80010001) #endif /* WIN32_NO_STATUS */