From 08ce77a1f5afd459c4092b887e1d60af7728faa7 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 14 Mar 2019 12:29:55 +0000 Subject: api headers: moved enum _nt_exception_disposition to nt_exception.h. --- include/ntapi/nt_exception.h | 7 +++++++ 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 -- cgit v1.2.3