diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ntapi/nt_exception.h | 7 | ||||
-rw-r--r-- | include/ntapi/nt_thread.h | 9 |
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 |