#include <windows.h>
#include <setjmp.h>
#include "seh.h"
Go to the source code of this file.
◆ dojump()
Definition at line 12 of file seh0026.c.
12 {
13 try {
14 try {
15
18 }
19 finally {
20
22 }
24 }
25 finally {
26
28 longjmp(JumpBuffer, 1);
29 }
31}
VOID WINAPI RaiseException(_In_ DWORD dwExceptionCode, _In_ DWORD dwExceptionFlags, _In_ DWORD nNumberOfArguments, _In_opt_ const ULONG_PTR *lpArguments)
static LARGE_INTEGER Counter
#define EXCEPTION_INT_OVERFLOW
Referenced by main().
◆ main()
Definition at line 33 of file seh0026.c.
33 {
36
38
39 if (_setjmp(JumpBuffer) == 0) {
40 try {
41 try {
42 try {
43 try {
46 }
49 }
50 finally {
52 longjmp(JumpBuffer, 1);
53 }
55 }
58 }
60
61 {
63 }
65 } else {
66
68 }
69
72 return -1;
73 }
74
75 return 0;
76}
void dojump(jmp_buf JumpBuffer, PLONG Counter)
◆ test
char test[] = "SEH0026.c" |