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




cae65d2a434b99303d6a28a973fcdd435d14afdb
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 #define WINAPI
11 #define CDECL
12 #define __fastcall
14 #define CONST const
15 #define VOID void
17 //typedef void VOID;
18 typedef void *LPVOID;
19 typedef CONST void *LPCVOID;
20 typedef const char *LPCSTR;
21 typedef uint8_t BYTE;
22 typedef BYTE *LPBYTE;
23 typedef uint16_t WORD;
24 typedef WORD *LPWORD;
25 typedef int16_t SHORT;
26 typedef uint32_t DWORD;
27 typedef DWORD *LPDWORD;
28 typedef int32_t LONG;
29 typedef LONG *LPLONG;
31 typedef int BOOL;
32 typedef int (WINAPI *FARPROC)();
34 #define FALSE 0
35 #define TRUE 1
37 #define ERROR_NOT_ENOUGH_MEMORY          8L
38 #define ERROR_INVALID_PARAMETER          87L
40 #endif