CMF_WHAT_FLAGS - NtDoc

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

/**
 * Flags for NtMapCMFModule.
 */
typedef enum _CMF_WHAT_FLAGS
{
    // ---- Access rights (used by CMFCheckAccess) ----
    CmfAccessDirectory = 0x00000002, // Access check for directory
    CmfAccessSegment = 0x00000004, // Access check for segment[Index]
    CmfAccessHits = 0x00000008, // Access check for hits
    // ---- Operation selection (controls BaseAddress + ViewSizeOut) ----
    CmfDirectoryOp = 0x00000010, // Map directory section
    CmfSegmentOp = 0x00000020, // Map segment section at Index
    CmfHitsOp = 0x00000100, // Map hits section
    // ---- Memory protection modifier ----
    CmfSpecialProtect = 0x00000040, // Changes protection for MmMapViewOfSection
    // ---- Flag update mode (affects CacheFlagsOut only) ----
    CmfUpdateFlags = 0x00020000, // Update CMFFlagsCache instead of mapping
    // ---- CMF cache mode bits (propagate into CMFFlagsCache) ----
    CmfFlagA = 0x00040000, // May trigger directory header update
    CmfFlagB = 0x00080000, // Enables directory update path
    CmfFlagC = 0x00100000, // Enables segment unmap path
} CMF_WHAT_FLAGS;

// end_private
#endif
#endif

View code on GitHub

NtDoc

No description available.