UnlockFile function kernel32
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);