mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
814 B
36 lines
814 B
#ifndef _EXCEPT_H_
|
|
#define _EXCEPT_H_
|
|
|
|
//
|
|
// Constant declarations
|
|
//
|
|
typedef PVOID (*pfnRtlAddVectoredExceptionHandler)(ULONG FirstHandler,
|
|
PVOID VectoredHandler);
|
|
|
|
typedef ULONG (*pfnRtlRemoveVectoredExceptionHandler)(PVOID VectoredHandlerHandle);
|
|
|
|
typedef VOID (*pfnExContinue)(PCONTEXT pContext);
|
|
|
|
#define SET_CONTEXT() {_asm int 3 \
|
|
_asm int 3 \
|
|
_asm ret \
|
|
_asm ret \
|
|
_asm ret }
|
|
|
|
//
|
|
// Structure definitions
|
|
//
|
|
|
|
//
|
|
// Function definitions
|
|
//
|
|
LONG
|
|
ExceptionFilter(struct _EXCEPTION_POINTERS *ExceptionInfo);
|
|
|
|
BOOL
|
|
HookUnchainableExceptionFilter(VOID);
|
|
|
|
VOID
|
|
Win9XExceptionDispatcher(struct _EXCEPTION_POINTERS *ExceptionInfo);
|
|
|
|
#endif //_EXCEPT_H_
|