示例#1
0
 internal static UIntPtr VirtualAlloc(uint allocSize, VirtualAllocType allocType, MemoryProtection memoryProtection)
 {
     return(VirtualAlloc(lpAddress: UIntPtr.Zero, new UIntPtr(allocSize), allocType, memoryProtection));
 }
示例#2
0
 private static extern UIntPtr VirtualAlloc(UIntPtr lpAddress, UIntPtr allocSize, [MarshalAs(UnmanagedType.U4)] VirtualAllocType allocationType, [MarshalAs(UnmanagedType.U4)] MemoryProtection protection);
示例#3
0
文件: Win32.cs 项目: prepare/AsmJit
 public static extern VirtualAllocRegion VirtualAlloc(IntPtr address, UIntPtr size, VirtualAllocType allocType, MemoryProtectionType protectionType);