#ifndef _PHNT_NTDEF_H
#ifndef _NTDEF_
/**
* The handle is created in system process context and can only be accessed from kernel mode.
*/
#define OBJ_KERNEL_HANDLE 0x00000200L
View code on GitHubThis OBJECT_ATTRIBUTES flag indicates that the handle should be inserted into the kernel handle table as opposed to the handle table of the attached process. This flag cannot be used from user mode.
OBJ_PROTECT_CLOSEOBJ_INHERITOBJ_AUDIT_OBJECT_CLOSEOBJ_NO_RIGHTS_UPGRADEOBJ_PERMANENTOBJ_EXCLUSIVEOBJ_CASE_INSENSITIVEOBJ_OPENIFOBJ_OPENLINKOBJ_FORCE_ACCESS_CHECKOBJ_IGNORE_IMPERSONATED_DEVICEMAPOBJ_DONT_REPARSE