internal static UIntPtr VirtualAlloc(uint allocSize, VirtualAllocType allocType, MemoryProtection memoryProtection) { return(VirtualAlloc(lpAddress: UIntPtr.Zero, new UIntPtr(allocSize), allocType, memoryProtection)); }
private static extern UIntPtr VirtualAlloc(UIntPtr lpAddress, UIntPtr allocSize, [MarshalAs(UnmanagedType.U4)] VirtualAllocType allocationType, [MarshalAs(UnmanagedType.U4)] MemoryProtection protection);
public static extern VirtualAllocRegion VirtualAlloc(IntPtr address, UIntPtr size, VirtualAllocType allocType, MemoryProtectionType protectionType);