ReactOS 0.4.15-dev-7788-g1ad9096
internal.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __SEHRegistration
 
struct  __SEHHandlers
 
struct  __SEHPortableTryLevel
 
struct  __SEHPortableFrame
 

Macros

#define _SEH_DO_TRACE_ENTER_LEAVE   (1 << 0)
 
#define _SEH_DO_TRACE_EXCEPTION_RECORD   (1 << 1)
 
#define _SEH_DO_TRACE_CONTEXT   (1 << 2)
 
#define _SEH_DO_TRACE_UNWIND   (1 << 3)
 
#define _SEH_DO_TRACE_TRYLEVEL   (1 << 4)
 
#define _SEH_DO_TRACE_CALL_FILTER   (1 << 5)
 
#define _SEH_DO_TRACE_FILTER   (1 << 6)
 
#define _SEH_DO_TRACE_CALL_HANDLER   (1 << 7)
 
#define _SEH_DO_TRACE_CALL_FINALLY   (1 << 8)
 
#define _SEH_DO_TRACE_NONE   (0)
 
#define _SEH_DO_TRACE_ALL   (-1)
 
#define _SEH_DO_DEFAULT_TRACING   _SEH_DO_TRACE_NONE
 
#define _SEH_FASTCALL   __stdcall
 
#define _SEHEnterFrame   _SEHEnterFrame_f
 
#define _SEHLeaveFrame   _SEHLeaveFrame_f
 
#define _SEHReturn   _SEHReturn_f
 

Typedefs

typedef int(__cdecl_SEHFrameHandler_t) (struct _EXCEPTION_RECORD *, void *, struct _CONTEXT *, void *)
 
typedef struct __SEHRegistration _SEHRegistration_t
 
typedef long(__stdcall_SEHFilter_t) (struct _EXCEPTION_POINTERS *, struct __SEHPortableFrame *)
 
typedef void(__stdcall_SEHHandler_t) (struct __SEHPortableTryLevel *)
 
typedef void(__stdcall_SEHFinally_t) (struct __SEHPortableFrame *)
 
typedef struct __SEHHandlers _SEHHandlers_t
 
typedef struct __SEHPortableTryLevel _SEHPortableTryLevel_t
 
typedef struct __SEHPortableFrame _SEHPortableFrame_t
 

Functions

void __stdcall _SEHEnterFrame_s (_SEHPortableFrame_t *)
 
void __stdcall _SEHLeaveFrame_s (void)
 
void __stdcall _SEHReturn_s (void)
 
void _SEH_FASTCALL _SEHEnterFrame_f (_SEHPortableFrame_t *)
 
void _SEH_FASTCALL _SEHLeaveFrame_f (void)
 
void _SEH_FASTCALL _SEHReturn_f (void)
 

Macro Definition Documentation

◆ _SEH_DO_DEFAULT_TRACING

#define _SEH_DO_DEFAULT_TRACING   _SEH_DO_TRACE_NONE

Definition at line 40 of file internal.h.

◆ _SEH_DO_TRACE_ALL

#define _SEH_DO_TRACE_ALL   (-1)

Definition at line 37 of file internal.h.

◆ _SEH_DO_TRACE_CALL_FILTER

#define _SEH_DO_TRACE_CALL_FILTER   (1 << 5)

Definition at line 31 of file internal.h.

◆ _SEH_DO_TRACE_CALL_FINALLY

#define _SEH_DO_TRACE_CALL_FINALLY   (1 << 8)

Definition at line 34 of file internal.h.

◆ _SEH_DO_TRACE_CALL_HANDLER

#define _SEH_DO_TRACE_CALL_HANDLER   (1 << 7)

Definition at line 33 of file internal.h.

◆ _SEH_DO_TRACE_CONTEXT

#define _SEH_DO_TRACE_CONTEXT   (1 << 2)

Definition at line 28 of file internal.h.

◆ _SEH_DO_TRACE_ENTER_LEAVE

#define _SEH_DO_TRACE_ENTER_LEAVE   (1 << 0)

Definition at line 26 of file internal.h.

◆ _SEH_DO_TRACE_EXCEPTION_RECORD

#define _SEH_DO_TRACE_EXCEPTION_RECORD   (1 << 1)

Definition at line 27 of file internal.h.

◆ _SEH_DO_TRACE_FILTER

#define _SEH_DO_TRACE_FILTER   (1 << 6)

Definition at line 32 of file internal.h.

◆ _SEH_DO_TRACE_NONE

#define _SEH_DO_TRACE_NONE   (0)

Definition at line 36 of file internal.h.

◆ _SEH_DO_TRACE_TRYLEVEL

#define _SEH_DO_TRACE_TRYLEVEL   (1 << 4)

Definition at line 30 of file internal.h.

◆ _SEH_DO_TRACE_UNWIND

#define _SEH_DO_TRACE_UNWIND   (1 << 3)

Definition at line 29 of file internal.h.

◆ _SEH_FASTCALL

#define _SEH_FASTCALL   __stdcall

Definition at line 118 of file internal.h.

◆ _SEHEnterFrame

#define _SEHEnterFrame   _SEHEnterFrame_f

Definition at line 125 of file internal.h.

◆ _SEHLeaveFrame

#define _SEHLeaveFrame   _SEHLeaveFrame_f

Definition at line 126 of file internal.h.

◆ _SEHReturn

#define _SEHReturn   _SEHReturn_f

Definition at line 127 of file internal.h.

Typedef Documentation

◆ _SEHFilter_t

Definition at line 65 of file internal.h.

◆ _SEHFinally_t

typedef void(__stdcall * _SEHFinally_t) (struct __SEHPortableFrame *)

Definition at line 76 of file internal.h.

◆ _SEHFrameHandler_t

typedef int(__cdecl * _SEHFrameHandler_t) (struct _EXCEPTION_RECORD *, void *, struct _CONTEXT *, void *)

Definition at line 47 of file internal.h.

◆ _SEHHandler_t

typedef void(__stdcall * _SEHHandler_t) (struct __SEHPortableTryLevel *)

Definition at line 71 of file internal.h.

◆ _SEHHandlers_t

◆ _SEHPortableFrame_t

◆ _SEHPortableTryLevel_t

◆ _SEHRegistration_t

Function Documentation

◆ _SEHEnterFrame_f()

void _SEH_FASTCALL _SEHEnterFrame_f ( _SEHPortableFrame_t frame)

Definition at line 462 of file framebased.c.

463{
464 /* ASSERT(frame); */
465 /* ASSERT(trylevel); */
467 frame->SPF_Code = 0;
469}
static int __cdecl _SEHFrameHandler(struct _EXCEPTION_RECORD *ExceptionRecord, void *EstablisherFrame, struct _CONTEXT *ContextRecord, void *DispatcherContext)
Definition: framebased.c:336
struct __SEHRegistration *__cdecl _SEHRegisterFrame(_SEHRegistration_t *)
unsigned long SPF_Code
Definition: internal.h:98
_SEHRegistration_t SPF_Registration
Definition: internal.h:97
_SEHFrameHandler_t SER_Handler
Definition: internal.h:58

Referenced by _SEHEnterFrame_s().

◆ _SEHEnterFrame_s()

void __stdcall _SEHEnterFrame_s ( _SEHPortableFrame_t frame)

Definition at line 447 of file framebased.c.

448{
449 _SEHEnterFrame_f(frame);
450}
void _SEH_FASTCALL _SEHEnterFrame_f(_SEHPortableFrame_t *frame)
Definition: framebased.c:462

◆ _SEHLeaveFrame_f()

void _SEH_FASTCALL _SEHLeaveFrame_f ( void  )

Definition at line 471 of file framebased.c.

472{
473 /* _SEHPortableFrame_t * frame;
474
475 frame = _SEH_CONTAINING_RECORD
476 (
477 _SEHCurrentRegistration(),
478 _SEHPortableFrame_t,
479 SPF_Registration
480 ); */
481
482 /* ASSERT(frame); */
483 /* ASSERT(frame->SPF_TopTryLevel == NULL) */
484
486}
void __cdecl _SEHUnregisterFrame(void)

Referenced by _SEHLeaveFrame_s().

◆ _SEHLeaveFrame_s()

void __stdcall _SEHLeaveFrame_s ( void  )

Definition at line 452 of file framebased.c.

453{
455}
void _SEH_FASTCALL _SEHLeaveFrame_f(void)
Definition: framebased.c:471

◆ _SEHReturn_f()

void _SEH_FASTCALL _SEHReturn_f ( void  )

Definition at line 488 of file framebased.c.

489{
490 _SEHPortableFrame_t * frame;
491
493 (
496 SPF_Registration
497 );
498
499 _SEHLocalUnwind(frame, NULL);
501}
#define NULL
Definition: types.h:112
static void __stdcall _SEHLocalUnwind(_SEHPortableFrame_t *frame, _SEHPortableTryLevel_t *dsttrylevel)
Definition: framebased.c:289
_SEHRegistration_t *__cdecl _SEHCurrentRegistration(void)
#define _SEH_CONTAINING_RECORD(ADDR_, TYPE_, FIELD_)
Definition: pseh.h:43

Referenced by _SEHReturn_s().

◆ _SEHReturn_s()

void __stdcall _SEHReturn_s ( void  )

Definition at line 457 of file framebased.c.

458{
459 _SEHReturn_f();
460}
void _SEH_FASTCALL _SEHReturn_f(void)
Definition: framebased.c:488