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
Small banner for links to this site:
projects
/
SComp.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
graphiclog
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
history
|
HEAD
Fix a couple of warnings
[SComp.git]
/
wintypes.h
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
895681eb
8
#include <stdint.h>
9
f71c1a8a
10
#ifndef WINAPI
3e09a0ee
11
#define WINAPI
f71c1a8a
12
#endif
3e09a0ee
13
#define CDECL
14
#define __fastcall
15
16
#define CONST const
895681eb
17
#define VOID void
3e09a0ee
18
895681eb
19
//typedef void VOID;
3e09a0ee
20
typedef void *LPVOID;
21
typedef CONST void *LPCVOID;
22
typedef const char *LPCSTR;
895681eb
23
typedef uint8_t BYTE;
3e09a0ee
24
typedef BYTE *LPBYTE;
895681eb
25
typedef uint16_t WORD;
3e09a0ee
26
typedef WORD *LPWORD;
895681eb
27
typedef int16_t SHORT;
28
typedef uint32_t DWORD;
3e09a0ee
29
typedef DWORD *LPDWORD;
895681eb
30
typedef int32_t LONG;
3e09a0ee
31
typedef LONG *LPLONG;
32
33
typedef int BOOL;
34
typedef int (WINAPI *FARPROC)();
35
36
#define FALSE 0
37
#define TRUE 1
38
39
#define ERROR_NOT_ENOUGH_MEMORY 8L
40
#define ERROR_INVALID_PARAMETER 87L
41
42
#endif
43