2
$Id: win32.inc,v 1.10 2003/10/06 23:52:53 florian Exp $
3
This file is part of the Free Pascal run time library.
4
Copyright (c) 1999-2000 by the Free Pascal development team.
6
Win32 Types and Constants
8
See the file COPYING.FPC, included in this distribution,
9
for details about the copyright.
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15
**********************************************************************}
18
{ constants for GetStdHandle }
19
STD_INPUT_HANDLE = longint($fffffff6);
20
STD_OUTPUT_HANDLE = longint($fffffff5);
21
STD_ERROR_HANDLE = longint($fffffff4);
22
INVALID_HANDLE_VALUE = longint($ffffffff);
24
IGNORE = 0; { Ignore signal }
25
INFINITE = longint($FFFFFFFF); { Infinite timeout }
27
{ flags for CreateFile }
28
GENERIC_READ=$80000000;
29
GENERIC_WRITE=$40000000;
34
TRUNCATE_EXISTING = 5;
36
FILE_ATTRIBUTE_ARCHIVE = 32;
37
FILE_ATTRIBUTE_COMPRESSED = 2048;
38
FILE_ATTRIBUTE_NORMAL = 128;
39
FILE_ATTRIBUTE_DIRECTORY = 16;
40
FILE_ATTRIBUTE_HIDDEN = 2;
41
FILE_ATTRIBUTE_READONLY = 1;
42
FILE_ATTRIBUTE_SYSTEM = 4;
43
FILE_ATTRIBUTE_TEMPORARY = 256;
46
fmShareCompat = $00000000;
47
fmShareExclusive = $10;
48
fmShareDenyWrite = $20;
49
fmShareDenyRead = $30;
50
fmShareDenyNone = $40;
52
{ flags for SetFilePos }
58
FILE_TYPE_UNKNOWN = 0;
63
VER_PLATFORM_WIN32s = 0;
64
VER_PLATFORM_WIN32_WINDOWS = 1;
65
VER_PLATFORM_WIN32_NT = 2;
68
BOOL = longint; obsolete }
92
PSecurityAttributes = ^TSecurityAttributes;
93
TSecurityAttributes = packed record
95
lpSecurityDescriptor : Pointer;
96
bInheritHandle : BOOL;
99
PProcessInformation = ^TProcessInformation;
100
TProcessInformation = record
107
PFileTime = ^TFileTime;
110
dwHighDateTime : DWORD;
113
LPSystemTime= ^PSystemTime;
114
PSystemTime = ^TSystemTime;
128
Revision 1.10 2003/10/06 23:52:53 florian
129
* some data types cleaned up
131
Revision 1.9 2002/09/07 16:01:29 peter
132
* old logs removed and tabs fixed
134
Revision 1.8 2002/05/09 08:28:23 carl
135
* Merges from Fixes branch