ReactOS  r75907
pseh2_64.h
Go to the documentation of this file.
1 #ifndef KJK_PSEH2_H_
2 #define KJK_PSEH2_H_
3 
4 
5 #define _SEH2_TRY if(1) {
6 #define _SEH2_EXCEPT(...) } if(0) {
7 #define _SEH2_END }
8 #define _SEH2_YIELD(STMT_) STMT_
9 #define _SEH2_LEAVE
10 #define _SEH2_FINALLY } if(1) {
11 #define _SEH2_GetExceptionInformation() (GetExceptionInformation())
12 #define _SEH2_GetExceptionCode() (0)
13 #define _SEH2_AbnormalTermination() (0)
14 
15 struct _EXCEPTION_RECORD;
16 struct _EXCEPTION_POINTERS;
17 struct _CONTEXT;
18 
19 typedef int (__cdecl * _SEH2FrameHandler_t)
20 (
21  struct _EXCEPTION_RECORD *,
22  void *,
23  struct _CONTEXT *,
24  void *
25 );
26 
27 typedef struct __SEH2Registration
28 {
30  _SEH2FrameHandler_t SER_Handler;
31 }
33 
34 
35 #endif
36 
37 /* EOF */
struct __SEH2Registration * SER_Prev
Definition: pseh2_64.h:29
#define __cdecl
Definition: accygwin.h:79
typedef void struct _CONTEXT void *struct __SEH2Registration _SEH2Registration_t
_SEH2FrameHandler_t SER_Handler
Definition: pseh2_64.h:30
typedef int(__cdecl *_SEH2FrameHandler_t)(struct _EXCEPTION_RECORD *