NtAllocateVirtualMemory (ntdll)
Last changed: 188.6.96.113

.
Summary
Allocates memory in the current or a remote process

C# Signature:

[DllImport("ntdll.dll", SetLastError=true)]
static extern NTSTATUS NtAllocateVirtualMemory(IntPtr ProcessHandle, ref IntPtr BaseAddress, UInt32 ZeroBits, ref UInt32 RegionSize, UInt32 AllocationType, UInt32 Protect);

Boo Signature:

[DllImport("ntdll.dll", SetLastError : true)]
def NtAllocateVirtualMemory(ProcessHandle as IntPtr, ref BaseAddress as IntPtr, ZeroBits as UInt32, ref RegionSize as UInt32, AllocationType as UInt32, Protect as UInt32) as NTSTATUS:
     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