LockFile method

int LockFile(
  1. Pointer<Void> hFile,
  2. int dwFileOffsetLow,
  3. int dwFileOffsetHigh,
  4. int nNumberOfBytesToLockLow,
  5. int nNumberOfBytesToLockHigh,
)

Implementation

int LockFile(
  ffi.Pointer<ffi.Void> hFile,
  int dwFileOffsetLow,
  int dwFileOffsetHigh,
  int nNumberOfBytesToLockLow,
  int nNumberOfBytesToLockHigh,
) {
  return (_LockFile ??=
      _dylib.lookupFunction<_c_LockFile, _dart_LockFile>('LockFile'))(
    hFile,
    dwFileOffsetLow,
    dwFileOffsetHigh,
    nNumberOfBytesToLockLow,
    nNumberOfBytesToLockHigh,
  );
}