#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;
View code on GitHubNo description available.
Enumeration type SECTION_INHERIT is used in a call to NtMapViewOfSection.
Created view of Section Object will be also mapped to any created in future process.
Created view will not be inherited by child processes.