#ifndef _NTOBAPI_H
#ifndef OBJ_INHERIT
#define OBJ_INHERIT 0x00000002
View code on GitHub
#ifndef _PHNT_NTDEF_H
#ifndef _NTDEF_
#define OBJ_INHERIT 0x00000002L
View code on GitHub
This OBJECT_ATTRIBUTES
flag indicates that the handle should be inheritable. Whether the child processes actually inherit this handle depends on the flags used during process creation and some other attributes of the object.
OBJ_PROTECT_CLOSE
OBJ_AUDIT_OBJECT_CLOSE
OBJ_NO_RIGHTS_UPGRADE
OBJ_PERMANENT
OBJ_EXCLUSIVE
OBJ_CASE_INSENSITIVE
OBJ_OPENIF
OBJ_OPENLINK
OBJ_KERNEL_HANDLE
OBJ_FORCE_ACCESS_CHECK
OBJ_IGNORE_IMPERSONATED_DEVICEMAP
OBJ_DONT_REPARSE