NtMapViewOfSection

[DllImport("ntdll.dll", ExactSpelling = true)]
[DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
public static extern unsafe NTSTATUS NtMapViewOfSection(
    HANDLE SectionHandle,
    HANDLE ProcessHandle,
    void* BaseAddress,
    nuint ZeroBits,
    nuint CommitSize,
    [Optional] long* SectionOffset,
    nuint* ViewSize,
    SECTION_INHERIT InheritDisposition,
    uint AllocationType,
    uint Win32Protect);

SECTION_INHERIT

VIRTUAL_ALLOCATION_TYPE

PAGE_PROTECTION_FLAGS

Last updated