My Project
 All Classes
WinTypes.h
1 #pragma once
2 
3 #if defined(__linux__)
4 #include <linux/types.h>
5 #endif
6 
7 #pragma pack(push)
8 #pragma pack(1)
9 
10 #ifndef VOID
11 #define VOID void
12 #endif
13 
14 #ifndef BYTE
15 #define BYTE unsigned char
16 #endif
17 
18 #ifndef CHAR
19 #define CHAR char
20 #endif
21 
22 #ifndef WORD
23 #define WORD unsigned short
24 #endif
25 
26 #ifndef SHORT
27 #define SHORT short
28 #endif
29 
30 #ifndef DWORD
31 #define DWORD unsigned int
32 #endif
33 
34 #ifndef LONGLONG
35 #define LONGLONG long long
36 #endif
37 
38 #ifndef ULONGLONG
39 #define ULONGLONG unsigned long long
40 #endif
41 
42 #ifndef LONG
43 #define LONG long
44 #endif
45 
46 #ifndef BOOL
47 #define BOOL CHAR
48 #endif
49 #ifndef BOOLEAN
50 #define BOOLEAN CHAR
51 #endif
52 #ifndef TRUE
53 #define TRUE true
54 #endif
55 #ifndef FALSE
56 #define FALSE false
57 #endif
58 
59 typedef unsigned long long MWCAP_PTR;
60 typedef void* HANDLE;
61 
62 typedef struct _RECT {
63  int left;
64  int top;
65  int right;
66  int bottom;
67 } RECT;
68 
69 #pragma pack(pop)
Definition: WinTypes.h:62