OBJ_DONT_REPARSE - NtDoc

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

/**
 * If this flag is set, no reparse points will be followed when parsing the name of the associated object.
 * If any reparses are encountered the attempt will fail and return an STATUS_REPARSE_POINT_ENCOUNTERED result.
 * This can be used to determine if there are any reparse points in the object's path, in security scenarios.
 */
#define OBJ_DONT_REPARSE                    0x00001000L

#endif
#endif

View code on GitHub

NtDoc

This OBJECT_ATTRIBUTES flag indicates that the open/create operation should fail with STATUS_REPARSE_POINT_ENCOUNTERED if the target path contains reparse points.

Related flags

See also