UnlockFile method

int UnlockFile(
  1. Pointer<Void> hFile,
  2. int dwFileOffsetLow,
  3. int dwFileOffsetHigh,
  4. int nNumberOfBytesToUnlockLow,
  5. int nNumberOfBytesToUnlockHigh,
)

Implementation

int UnlockFile(
  ffi.Pointer<ffi.Void> hFile,
  int dwFileOffsetLow,
  int dwFileOffsetHigh,
  int nNumberOfBytesToUnlockLow,
  int nNumberOfBytesToUnlockHigh,
) {
  return (_UnlockFile ??=
      _dylib.lookupFunction<_c_UnlockFile, _dart_UnlockFile>('UnlockFile'))(
    hFile,
    dwFileOffsetLow,
    dwFileOffsetHigh,
    nNumberOfBytesToUnlockLow,
    nNumberOfBytesToUnlockHigh,
  );
}