FlushViewOfFile method

int FlushViewOfFile(
  1. Pointer<Void> lpBaseAddress,
  2. int dwNumberOfBytesToFlush
)

Implementation

int FlushViewOfFile(
  ffi.Pointer<ffi.Void> lpBaseAddress,
  int dwNumberOfBytesToFlush,
) {
  return (_FlushViewOfFile ??=
      _dylib.lookupFunction<_c_FlushViewOfFile, _dart_FlushViewOfFile>(
          'FlushViewOfFile'))(
    lpBaseAddress,
    dwNumberOfBytesToFlush,
  );
}