ReactOS  0.4.14-dev-98-gb0d4763
retypes.h
Go to the documentation of this file.
1 /*++
2 
3 Copyright (c) 1998-2001 Klaus P. Gerlicher
4 
5 Module Name:
6 
7  retypes.h
8 
9 Abstract:
10 
11  HEADER for type remapping (porting from NT code)
12 
13 Environment:
14 
15  LINUX 2.2.X
16  Kernel mode only
17 
18 Author:
19 
20  Klaus P. Gerlicher
21 
22 Revision History:
23 
24  15-Nov-2000: general cleanup of source files
25 
26 Copyright notice:
27 
28  This file may be distributed under the terms of the GNU Public License.
29 
30 --*/
31 //typedef unsigned int ULONG,*PULONG;
32 //typedef unsigned short USHORT,*PUSHORT;
33 //typedef unsigned char UCHAR,*PUCHAR,BYTE,*PBYTE;
34 
35 //typedef signed int LONG,*PLONG;
36 //typedef signed short SHORT,*PSHORT;
37 //typedef signed char CHAR,*PCHAR,*LPSTR,*PSTR;
38 //typedef unsigned short WCHAR;
39 
40 //typedef void VOID,*PVOID;
41 
42 //typedef char BOOLEAN,*PBOOLEAN;
43 
44 //#define FALSE (0==1)
45 //#define TRUE (1==1)
46 #ifndef NULL
47 #define NULL ((void*)0)
48 #endif
49 
50 // dimension macro
51 #define DIM(name) (sizeof(name)/sizeof(name[0]))
52