#ifndef _PHNT_NTDEF_H
#ifndef _NTDEF_
/**
* The routine opening the handle should enforce all access checks for the object,
* even if the handle is being opened in kernel mode.
*/
#define OBJ_FORCE_ACCESS_CHECK 0x00000400L
View code on GitHubThis OBJECT_ATTRIBUTES flag forces the system to perform an access check on the target object when called from kernel mode.
OBJ_PROTECT_CLOSEOBJ_INHERITOBJ_AUDIT_OBJECT_CLOSEOBJ_NO_RIGHTS_UPGRADEOBJ_PERMANENTOBJ_EXCLUSIVEOBJ_CASE_INSENSITIVEOBJ_OPENIFOBJ_OPENLINKOBJ_KERNEL_HANDLEOBJ_IGNORE_IMPERSONATED_DEVICEMAPOBJ_DONT_REPARSE