VirtualAllocFromApp method

Pointer<Void> VirtualAllocFromApp(
  1. Pointer<Void> BaseAddress,
  2. int Size,
  3. int AllocationType,
  4. int Protection,
)

Implementation

ffi.Pointer<ffi.Void> VirtualAllocFromApp(
  ffi.Pointer<ffi.Void> BaseAddress,
  int Size,
  int AllocationType,
  int Protection,
) {
  return (_VirtualAllocFromApp ??= _dylib.lookupFunction<
      _c_VirtualAllocFromApp,
      _dart_VirtualAllocFromApp>('VirtualAllocFromApp'))(
    BaseAddress,
    Size,
    AllocationType,
    Protection,
  );
}