t's a bit embarrasing that some of this was undone until recently, but we now
[reactos.git] / reactos / boot / freeldr / freeldr / include / of.h
1 #ifndef FREELDR_OF_H
2 #define FREELDR_OF_H
3
4 #define OF_FAILED 0
5 #define ERR_NOT_FOUND 0xc0000010
6
7 #include "of_call.h"
8 #include <string.h>
9
10 typedef int (*of_proxy)
11 ( int table_off, void *arg1, void *arg2, void *arg3, void *arg4, void *arg5, void *arg6 );
12 typedef long jmp_buf[100];
13 extern of_proxy ofproxy;
14
15 int setjmp( jmp_buf buf );
16 int longjmp( jmp_buf buf, int retval );
17 int ofw_callmethod_ret(const char *method, int handle, int nargs, int *args, int ret);
18
19 #endif/*FREELDR_OF_H*/