OBJ_INHERIT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTOBAPI_H
#ifndef OBJ_INHERIT

#define OBJ_INHERIT 0x00000002

#endif
#endif

View code on GitHub
#ifndef _PHNT_NTDEF_H
#ifndef _NTDEF_

#define OBJ_INHERIT                         0x00000002L

#endif
#endif

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.

Related flags

See also