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

Go to the source code of this file.

Functions

LONG Echo (LONG Value)
 
int main ()
 

Variables

char test [] = "seh0055.c"
 

Function Documentation

◆ Echo()

LONG Echo ( LONG  Value)

Definition at line 10 of file seh0055.c.

10{ return Value; }
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
Definition: wdfregistry.h:413

◆ main()

int main ( void  )

Definition at line 12 of file seh0055.c.

12 {
14
15 Counter = 0;
16
17 try {
18 try {
19 if (Echo(Counter) == Counter) {
20 Counter += 3;
21 leave;
22
23 } else {
24 Counter += 100;
25 }
26 }
27 finally {
28 if (abnormal_termination() == FALSE) {
29 Counter += 5;
30 leave;
31 }
32 }
33 endtry
34
35 Counter += 100;
36 }
37 finally {
38 if (abnormal_termination() == FALSE) {
39 Counter += 5;
40 }
41 }
42 endtry
43
44 if (Counter != 13) {
45 printf("TEST 55 FAILED, Counter = %d\n", Counter);
46 return -1;
47 }
48
49 return 0;
50}
#define leave
Definition: btrfs_drv.h:138
#define FALSE
Definition: types.h:117
#define printf
Definition: freeldr.h:97
long LONG
Definition: pedump.c:60
#define endtry
Definition: seh.h:24
#define abnormal_termination
Definition: seh.h:25
static LARGE_INTEGER Counter
Definition: clock.c:43
@ Echo
Definition: telnetd.h:64

Variable Documentation

◆ test

char test[] = "seh0055.c"

Definition at line 8 of file seh0055.c.