Merge pull request #6625 from BunterSchatten/fix-lockfileex

Fix LockFileEx and UnlockFileEx
This commit is contained in:
gingerBill
2026-04-27 13:52:31 +01:00
committed by GitHub

View File

@@ -370,14 +370,14 @@ foreign kernel32 {
dwReserved: DWORD,
nNumberOfBytesToLockLow: DWORD,
nNumberOfBytesToLockHigh: DWORD,
lpOverlapped: ^LPOVERLAPPED,
lpOverlapped: LPOVERLAPPED,
) -> BOOL ---
UnlockFileEx :: proc(
hFile: HANDLE,
dwReserved: DWORD,
nNumberOfBytesToUnlockLow: DWORD,
nNumberOfBytesToLockHigh: DWORD,
lpOverlapped: ^LPOVERLAPPED,
lpOverlapped: LPOVERLAPPED,
) -> BOOL ---
GetFileTime :: proc(