mirror of
https://github.com/reactos/reactos.git
synced 2025-04-05 21:21:33 +00:00
Add OBJ_KERNEL_HANDLE value
svn path=/trunk/; revision=14393
This commit is contained in:
parent
3d737b9d74
commit
eeabdc3329
1 changed files with 10 additions and 7 deletions
|
@ -5,13 +5,16 @@
|
|||
#endif
|
||||
|
||||
#define NTAPI __stdcall
|
||||
#define OBJ_INHERIT 2L
|
||||
#define OBJ_PERMANENT 16L
|
||||
#define OBJ_EXCLUSIVE 32L
|
||||
#define OBJ_CASE_INSENSITIVE 64L
|
||||
#define OBJ_OPENIF 128L
|
||||
#define OBJ_OPENLINK 256L
|
||||
#define OBJ_VALID_ATTRIBUTES 498L
|
||||
#define OBJ_INHERIT 0x00000002
|
||||
#define OBJ_PERMANENT 0x00000010
|
||||
#define OBJ_EXCLUSIVE 0x00000020
|
||||
#define OBJ_CASE_INSENSITIVE 0x00000040
|
||||
#define OBJ_OPENIF 0x00000080
|
||||
#define OBJ_OPENLINK 0x00000100
|
||||
#define OBJ_KERNEL_HANDLE 0x00000200
|
||||
#define OBJ_VALID_ATTRIBUTES (OBJ_KERNEL_HANDLE | OBJ_OPENLINK | \
|
||||
OBJ_OPENIF | OBJ_CASE_INSENSITIVE | OBJ_EXCLUSIVE | \
|
||||
OBJ_PERMANENT | OBJ_INHERIT)
|
||||
#define InitializeObjectAttributes(p,n,a,r,s) { \
|
||||
(p)->Length = sizeof(OBJECT_ATTRIBUTES); \
|
||||
(p)->RootDirectory = (r); \
|
||||
|
|
Loading…
Reference in a new issue