summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-03-14 12:29:55 +0000
committermidipix <writeonce@midipix.org>2019-03-24 19:24:27 -0400
commit08ce77a1f5afd459c4092b887e1d60af7728faa7 (patch)
tree389183c045bfb677ee185453edea6140d7ec3e5c
parent51b09b0bb0ecae23fe25e1db8fadf70fa5edba94 (diff)
downloadntapi-08ce77a1f5.tar.bz2
ntapi-08ce77a1f5.tar.xz
api headers: moved enum _nt_exception_disposition to nt_exception.h.
-rw-r--r--include/ntapi/nt_exception.h7
-rw-r--r--include/ntapi/nt_thread.h9
2 files changed, 9 insertions, 7 deletions
diff --git a/include/ntapi/nt_exception.h b/include/ntapi/nt_exception.h
index 657c0bd..8465d7c 100644
--- a/include/ntapi/nt_exception.h
+++ b/include/ntapi/nt_exception.h
@@ -8,6 +8,13 @@
/* limits */
#define NT_EXCEPTION_MAX_PARAMS (0x0F)
+typedef enum _nt_exception_disposition {
+ NT_EXCEPTION_CONTINUE_EXECUTION,
+ NT_EXCEPTION_CONTINUE_SEARCH,
+ NT_EXCEPTION_NESTED_EXCEPTION,
+ NT_EXCEPTION_COLLIDED_UNWIND
+} nt_exception_disposition;
+
typedef struct _nt_exception_record {
uint32_t exception_code;
uint32_t exception_flags;
diff --git a/include/ntapi/nt_thread.h b/include/ntapi/nt_thread.h
index 4ba9ed4..4e1ce60 100644
--- a/include/ntapi/nt_thread.h
+++ b/include/ntapi/nt_thread.h
@@ -7,6 +7,8 @@
#include "bits/nt32/nt_thread_i386.h"
#include "bits/nt64/nt_thread_x86_64.h"
+typedef enum _nt_exception_disposition nt_exception_disposition;
+
typedef enum _nt_thread_info_class {
NT_THREAD_BASIC_INFORMATION,
NT_THREAD_TIMES,
@@ -28,13 +30,6 @@ typedef enum _nt_thread_info_class {
NT_THREAD_HIDE_FROM_DEBUGGER
} nt_thread_info_class;
-typedef enum _nt_exception_disposition {
- NT_EXCEPTION_CONTINUE_EXECUTION,
- NT_EXCEPTION_CONTINUE_SEARCH,
- NT_EXCEPTION_NESTED_EXCEPTION,
- NT_EXCEPTION_COLLIDED_UNWIND
-} nt_exception_disposition;
-
/* special handles */
#define NT_CURRENT_THREAD_HANDLE (void *)(uintptr_t)-2