c3356c80611c6ad9ab31fd25f0b8911220a66f00
[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 ANYSIZE_ARRAY   (1)
15
16 #define DELETE          (0x00010000L)
17 #define READ_CONTROL    (0x00020000L)
18 #define SYNCHRONIZE     (0x00100000L)
19
20 #define DUPLICATE_CLOSE_SOURCE  (1)
21 #define DUPLICATE_SAME_ACCESS   (2)
22
23 #define PACKED __attribute__((packed))
24
25 #define INVALID_HANDLE_VALUE    ((HANDLE)-1)
26
27 #define EX_MAXIMUM_WAIT_OBJECTS (64)
28
29 #endif /* __INCLUDE_NTDEF_H */