Commit | Line | Data |
3e09a0ee |
1 | // wintypes.h - Windows data types |
2 | // (when not compiling for Windows) |
3 | // License information for this code is in license.txt |
4 | |
5 | #ifndef WIN_TYPES_INCLUDED |
6 | #define WIN_TYPES_INCLUDED |
7 | |
8 | #define WINAPI |
9 | #define CDECL |
10 | #define __fastcall |
11 | |
12 | #define CONST const |
13 | |
14 | typedef void VOID; |
15 | typedef void *LPVOID; |
16 | typedef CONST void *LPCVOID; |
17 | typedef const char *LPCSTR; |
18 | typedef unsigned char BYTE; |
19 | typedef BYTE *LPBYTE; |
20 | typedef unsigned short WORD; |
21 | typedef WORD *LPWORD; |
22 | typedef short SHORT; |
23 | typedef unsigned long DWORD; |
24 | typedef DWORD *LPDWORD; |
25 | typedef long LONG; |
26 | typedef LONG *LPLONG; |
27 | |
28 | typedef int BOOL; |
29 | typedef int (WINAPI *FARPROC)(); |
30 | |
31 | #define FALSE 0 |
32 | #define TRUE 1 |
33 | |
34 | #define ERROR_NOT_ENOUGH_MEMORY 8L |
35 | #define ERROR_INVALID_PARAMETER 87L |
36 | |
37 | #endif |
38 | |