MapViewOfFileEx method

Pointer<Void> MapViewOfFileEx(
  1. Pointer<Void> hFileMappingObject,
  2. int dwDesiredAccess,
  3. int dwFileOffsetHigh,
  4. int dwFileOffsetLow,
  5. int dwNumberOfBytesToMap,
  6. Pointer<Void> lpBaseAddress,
)

Implementation

ffi.Pointer<ffi.Void> MapViewOfFileEx(
  ffi.Pointer<ffi.Void> hFileMappingObject,
  int dwDesiredAccess,
  int dwFileOffsetHigh,
  int dwFileOffsetLow,
  int dwNumberOfBytesToMap,
  ffi.Pointer<ffi.Void> lpBaseAddress,
) {
  return (_MapViewOfFileEx ??=
      _dylib.lookupFunction<_c_MapViewOfFileEx, _dart_MapViewOfFileEx>(
          'MapViewOfFileEx'))(
    hFileMappingObject,
    dwDesiredAccess,
    dwFileOffsetHigh,
    dwFileOffsetLow,
    dwNumberOfBytesToMap,
    lpBaseAddress,
  );
}