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)

/**
 * The SECTION_INHERIT structure specifies how the mapped view of the section is to be shared with child processes.
 */
typedef enum _SECTION_INHERIT
{
    ViewShare = 1, // The mapped view of the section will be mapped into any child processes created by the process.
    ViewUnmap = 2  // The mapped view of the section will not be mapped into any child processes created by the process.
} SECTION_INHERIT;

#endif
#endif

View code on GitHub

NtDoc

No description available.

NTinternals.net (undocumented.ntinternals.net)

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