UnlockFile function kernel32

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

Unlocks a region in an open file. Unlocking a region enables other processes to access the region.

BOOL UnlockFile(
  [in] HANDLE hFile,
  [in] DWORD  dwFileOffsetLow,
  [in] DWORD  dwFileOffsetHigh,
  [in] DWORD  nNumberOfBytesToUnlockLow,
  [in] DWORD  nNumberOfBytesToUnlockHigh
);

Implementation

int UnlockFile(int hFile, int dwFileOffsetLow, int dwFileOffsetHigh,
        int nNumberOfBytesToUnlockLow, int nNumberOfBytesToUnlockHigh) =>
    _UnlockFile(hFile, dwFileOffsetLow, dwFileOffsetHigh,
        nNumberOfBytesToUnlockLow, nNumberOfBytesToUnlockHigh);