1{
2    This file is part of the Free Pascal run time library.
3    This unit contains the record definition for the Win32 API
4    Copyright (c) 1999-2000 by Florian KLaempfl,
5    member of the Free Pascal development team.
6
7    See the file COPYING.FPC, included in this distribution,
8    for details about the copyright.
9
10    This program is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
14 **********************************************************************}
15unit Windows;
16
17{$PACKSET 1}
18
19{$ifndef NO_SMART_LINK}
20{$smartlink on}
21{$endif}
22
23{ stuff like array of const is used }
24{$mode objfpc}
25{$modeswitch ADVANCEDRECORDS}
26{$modeswitch class}
27{$inline on}
28{$calling stdcall}
29
30{$ifdef FPC_OS_UNICODE}
31  {$define UNICODE}
32{$endif}
33
34interface
35
36{$define read_interface}
37{$undef read_implementation}
38
39{$i base.inc}
40{$i errors.inc}
41{$i defines.inc}
42{$i struct.inc}
43{$i messages.inc}
44{$i ascfun.inc}
45{$i unifun.inc}
46{$ifdef UNICODE}
47{$i unidef.inc}
48{$else not UNICODE}
49{$i ascdef.inc}
50{$endif UNICODE}
51{$i func.inc}
52{$i redef.inc}
53
54implementation
55
56{$undef read_interface}
57{$define read_implementation}
58
59{$i base.inc}
60{$i errors.inc}
61{$i defines.inc}
62{$i struct.inc}
63{$i messages.inc}
64{$i ascfun.inc}
65{$i unifun.inc}
66{$ifdef UNICODE}
67{$i unidef.inc}
68{$else not UNICODE}
69{$i ascdef.inc}
70{$endif UNICODE}
71{$i func.inc}
72{$i redef.inc}
73
74end.
75