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




CommitLineData
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
14typedef void VOID;
15typedef void *LPVOID;
16typedef CONST void *LPCVOID;
17typedef const char *LPCSTR;
18typedef unsigned char BYTE;
19typedef BYTE *LPBYTE;
20typedef unsigned short WORD;
21typedef WORD *LPWORD;
22typedef short SHORT;
23typedef unsigned long DWORD;
24typedef DWORD *LPDWORD;
25typedef long LONG;
26typedef LONG *LPLONG;
27
28typedef int BOOL;
29typedef 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