1 /******************************************************************************
2 *
3 * Copyright (C) 2009, The Gentee Group. All rights reserved.
4 * This file is part of the Gentee open source project - http://www.gentee.com.
5 *
6 * THIS FILE IS PROVIDED UNDER THE TERMS OF THE GENTEE LICENSE ("AGREEMENT").
7 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE CONSTITUTES RECIPIENTS
8 * ACCEPTANCE OF THE AGREEMENT.
9 *
10 * Author: Alexey Krivonogov ( gentee )
11 *
12 ******************************************************************************/
13
14 #ifndef _GEA_
15 #define _GEA_
16
17 #include "windows.h"
18 #include "../../common/types.h"
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif // __cplusplus
23
24 #define STACKAPI __fastcall
25
26 typedef unsigned long dword;
27 typedef unsigned short word;
28 typedef unsigned char* pbyte;
29 typedef dword* pdword;
30 typedef word* pword;
31
32 #include "memory.h"
33
34 typedef uint ( __cdecl *gea_call )( uint, puint, ... );
35
36 //--------------------------------------------------------------------------
37 // Функция обратной связи при упаковке/распаковке
38 #ifndef UNPPMD
39 dword STDCALL fgeauser( dword param, dword userfunc, dword pgeaparam );
40 #endif
41 //--------------------------------------------------------------------------
42
43 #ifdef __cplusplus
44 }
45 #endif // __cplusplus
46
47 #endif // _GEA_
48
49
Редактировать