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 #include <stdint.h>
10 #ifndef WINAPI
11 #define WINAPI
12 #endif
13 #define CDECL
14 #define __fastcall
16 #define CONST const
17 #define VOID void
19 //typedef void VOID;
20 typedef void *LPVOID;
21 typedef CONST void *LPCVOID;
22 typedef const char *LPCSTR;
23 typedef uint8_t BYTE;
24 typedef BYTE *LPBYTE;
25 typedef uint16_t WORD;
26 typedef WORD *LPWORD;
27 typedef int16_t SHORT;
28 typedef uint32_t DWORD;
29 typedef DWORD *LPDWORD;
30 typedef int32_t LONG;
31 typedef LONG *LPLONG;
33 typedef int BOOL;
34 typedef int (WINAPI *FARPROC)();
36 #define FALSE 0
37 #define TRUE 1
39 #define ERROR_NOT_ENOUGH_MEMORY          8L
40 #define ERROR_INVALID_PARAMETER          87L
42 #endif