OBJ_FORCE_ACCESS_CHECK - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#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

#endif
#endif

View code on GitHub

NtDoc

This OBJECT_ATTRIBUTES flag forces the system to perform an access check on the target object when called from kernel mode.

Related flags

See also