[DllImport("kernel32.dll")]
static extern bool VirtualFreeEx(IntPtr hProcess, IntPtr lpAddress,
UIntPtr dwSize, uint dwFreeType);
[DllImport("kernel32.dll")]
public static unsafe extern bool VirtualFreeEx(
IntPtr hProcess, byte* pAddress,
UIntPtr size, AllocationType freeType);
[Flags]
public enum AllocationType
{
Commit = 0x1000,
Reserve = 0x2000,
Decommit = 0x4000,
Release = 0x8000,
Reset = 0x80000,
Physical = 0x400000,
TopDown = 0x100000
}
None.
Please add some!
Please add some!
Do you know one? Please contribute it!