VirtualAlloc2 method

Pointer<Void> VirtualAlloc2(
  1. Pointer<Void> Process,
  2. Pointer<Void> BaseAddress,
  3. int Size,
  4. int AllocationType,
  5. int PageProtection,
  6. Pointer<MEM_EXTENDED_PARAMETER> ExtendedParameters,
  7. int ParameterCount,
)

Implementation

ffi.Pointer<ffi.Void> VirtualAlloc2(
  ffi.Pointer<ffi.Void> Process,
  ffi.Pointer<ffi.Void> BaseAddress,
  int Size,
  int AllocationType,
  int PageProtection,
  ffi.Pointer<MEM_EXTENDED_PARAMETER> ExtendedParameters,
  int ParameterCount,
) {
  return _VirtualAlloc2(
    Process,
    BaseAddress,
    Size,
    AllocationType,
    PageProtection,
    ExtendedParameters,
    ParameterCount,
  );
}