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 UIntPtr, CommitSize as UIntPtr, ref SectionOffset as ulong, ref ViewSize as uint, InheritDisposition as uint, AllocationType as uint, Win32Protect as uint):
     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