cfa22d98110bdbad6bc3b4add51dc3b9e40cb145
[reactos.git] / reactos / 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 EX_MAXIMUM_WAIT_OBJECTS (64)
15
16 #ifndef __USE_W32API
17
18 #define ANYSIZE_ARRAY (1)
19
20 #define DELETE (0x00010000L)
21 #define READ_CONTROL (0x00020000L)
22 #define WRITE_DAC (0x00040000L)
23 #define WRITE_OWNER (0x00080000L)
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 */