blob: 9bb6f163a33c8d0e10f41a5b8041ac90c7d2f662 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
/*** types.h - Convenient type definitions
*
* Microsoft Confidential
* Copyright (C) Microsoft Corporation 1993-1994
* All Rights Reserved.
*
* History:
* 10-Aug-1993 bens Initial version
* 15-Aug-1993 bens Added USHORT, ULONG
* 23-Mar-1994 bens Added DWORD, changed NULL to void*
* 01-Apr-1994 bens UNALIGNED - define NEEDS_ALIGNMENT for RISC
*/
#ifndef INCLUDED_TYPES
#define INCLUDED_TYPES 1
typedef int BOOL; /* f */
typedef unsigned char BYTE; /* b */
typedef unsigned short USHORT; /* us */
typedef unsigned short WORD; /* w */
typedef unsigned int UINT; /* ui */
typedef unsigned long ULONG; /* ul */
typedef unsigned long DWORD; /* dw */
#ifdef _DEBUG
// don't hide statics from map during debugging
#define STATIC
#else // !_DEBUG
#define STATIC static
#endif // !_DEBUG
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
#ifndef NULL
#define NULL ((void*)0)
#endif
#ifdef NEEDS_ALIGNMENT
#ifndef UNALIGNED
#define UNALIGNED __unaligned
#endif
#else // !NEEDS_ALIGNMENT
#ifndef UNALIGNED
#define UNALIGNED
#endif
#endif // !NEEDS_ALIGNMENT
#endif // !INCLUDED_TYPES
|