SECTION_INHERIT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTMMAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)

typedef enum _SECTION_INHERIT
{
    ViewShare = 1,
    ViewUnmap = 2
} SECTION_INHERIT;

#endif
#endif

View code on GitHub

Enumeration type SECTION_INHERIT is used in a call to NtMapViewOfSection.

ViewShare

Created view of Section Object will be also mapped to any created in future process.

ViewUnmap

Created view will not be inherited by child processes.

Documented by

See also