MapViewOfFileFromApp method

Pointer<Void> MapViewOfFileFromApp(
  1. Pointer<Void> hFileMappingObject,
  2. int DesiredAccess,
  3. int FileOffset,
  4. int NumberOfBytesToMap,
)

Implementation

ffi.Pointer<ffi.Void> MapViewOfFileFromApp(
  ffi.Pointer<ffi.Void> hFileMappingObject,
  int DesiredAccess,
  int FileOffset,
  int NumberOfBytesToMap,
) {
  return (_MapViewOfFileFromApp ??= _dylib.lookupFunction<
      _c_MapViewOfFileFromApp,
      _dart_MapViewOfFileFromApp>('MapViewOfFileFromApp'))(
    hFileMappingObject,
    DesiredAccess,
    FileOffset,
    NumberOfBytesToMap,
  );
}