windows-nt/Source/XPSP1/NT/sdktools/profiler/except.h

37 lines
814 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#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_