RtlImpersonateSelf(): Set impersonation level in call to NtDuplicateToken().
[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 SYNCHRONIZE (0x00100000L)
23
24 #define DUPLICATE_CLOSE_SOURCE (1)
25 #define DUPLICATE_SAME_ACCESS (2)
26
27 #define INVALID_HANDLE_VALUE ((HANDLE)-1)
28
29 #endif /* !__USE_W32API */
30
31 #endif /* __INCLUDE_NTDEF_H */