Fix LockFileEx and UnlockFileEx

This commit is contained in:
David Bader
2026-04-27 14:42:56 +02:00
parent e06f3598f4
commit e06fa11a67

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(