Current News
Archived News
Search News
Discussion Forum


Old Forum
Install Programs More Downloads...
Troubleshooting
Source Code
Format Specs.
Misc. Information
Non-SF Stuff
Links




1 // wintypes.h - Windows data types
2 // (when not compiling for Windows)
3 // License information for this code is in license.txt
5 #ifndef WIN_TYPES_INCLUDED
6 #define WIN_TYPES_INCLUDED
8 #define WINAPI
9 #define CDECL
10 #define __fastcall
12 #define CONST const
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;
28 typedef int BOOL;
29 typedef int (WINAPI *FARPROC)();
31 #define FALSE 0
32 #define TRUE 1
34 #define ERROR_NOT_ENOUGH_MEMORY          8L
35 #define ERROR_INVALID_PARAMETER          87L
37 #endif