NtMapViewOfSection (ntdll)
Last changed: -186.136.223.176

.
Summary
The NtMapViewOfSection routine maps a view of a section into the virtual address space of a subject process.

C# Signature:

[DllImport("ntdll.dll", SetLastError=true)]
static extern uint NtMapViewOfSection(
    IntPtr SectionHandle,
    IntPtr ProcessHandle,
    ref IntPtr BaseAddress,
    UIntPtr ZeroBits,
    UIntPtr CommitSize,
    out ulong SectionOffset,
    out uint ViewSize,
    uint InheritDisposition,
    uint AllocationType,
    uint Win32Protect);

VB Signature:

Declare Function NtMapViewOfSection Lib "ntdll.dll" (TODO) As TODO

Boo Signature:

[DllImport("ntdll.dll")]
def NtMapViewOfSection(
     SectionHandle as IntPtr,
     ProcessHandle as IntPtr,
     ref BaseAddress as IntPtr,
     ZeroBits as IntPtr,
     CommitSize as IntPtr,
     SectionOffset as IntPtr,
     ref ViewSize as UInt32,
     InheritDisposition as UInt32,
     AllocationType as UInt32,
     Win32Protect as UInt32) as UInt32:
     pass

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation