ReactOS 0.4.15-dev-7931-gfd331f1
seh0001.c File Reference
#include <windows.h>
#include "seh.h"
Include dependency graph for seh0001.c:

Go to the source code of this file.

Functions

int main ()
 

Variables

char test [] = "SEH0001.c"
 

Function Documentation

◆ main()

int main ( void  )

Definition at line 10 of file seh0001.c.

10 {
11 long Counter;
12
13 Counter = 0;
14
15 try {
16 Counter += 1;
17 }
18 finally {
19 if (abnormal_termination() == 0) {
20 Counter += 1;
21 }
22 }
23 endtry
24
25 if (Counter != 2) {
26 printf("TEST 1 FAILED. Counter = %d\n\r", Counter);
27 return -1;
28 }
29 return 0;
30}
#define printf
Definition: freeldr.h:97
#define endtry
Definition: seh.h:24
#define abnormal_termination
Definition: seh.h:25
static LARGE_INTEGER Counter
Definition: clock.c:43

Variable Documentation

◆ test

char test[] = "SEH0001.c"

Definition at line 8 of file seh0001.c.