branch update for HEAD-2003021201
[reactos.git] / include / ntos / ntdef.h
1 /*
2  * COPYRIGHT:    See COPYING in the top level directory
3  * PROJECT:      ReactOS kernel
4  * FILE:         include/ntdef.h
5  * PURPOSE:      Defines used by all the parts of the system
6  * PROGRAMMER:   David Welch <welch@cwcom.net>
7  * UPDATE HISTORY: 
8  *               27/06/00: Created
9  */
10
11 #ifndef __INCLUDE_NTDEF_H
12 #define __INCLUDE_NTDEF_H
13
14 #define PACKED __attribute__((packed))
15
16 #define EX_MAXIMUM_WAIT_OBJECTS (64)
17
18 #ifndef __USE_W32API
19
20 #define ANYSIZE_ARRAY   (1)
21
22 #define DELETE          (0x00010000L)
23 #define READ_CONTROL    (0x00020000L)
24 #define SYNCHRONIZE     (0x00100000L)
25
26 #define DUPLICATE_CLOSE_SOURCE  (1)
27 #define DUPLICATE_SAME_ACCESS   (2)
28
29 #define INVALID_HANDLE_VALUE    ((HANDLE)-1)
30
31 #endif /* !__USE_W32API */
32
33 #endif /* __INCLUDE_NTDEF_H */