Skip to content

Commit dc15a52

Browse files
committed
crate libc: Correct signature of WriteFile
1 parent 2c8d75d commit dc15a52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/liblibc/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -6308,8 +6308,8 @@ pub mod funcs {
63086308
lpOverlapped: LPOVERLAPPED) -> BOOL;
63096309
pub fn WriteFile(hFile: HANDLE,
63106310
lpBuffer: LPVOID,
6311-
nNumberOfBytesToRead: DWORD,
6312-
lpNumberOfBytesRead: LPDWORD,
6311+
nNumberOfBytesToWrite: DWORD,
6312+
lpNumberOfBytesWritten: LPDWORD,
63136313
lpOverlapped: LPOVERLAPPED) -> BOOL;
63146314
pub fn SetFilePointerEx(hFile: HANDLE,
63156315
liDistanceToMove: LARGE_INTEGER,

0 commit comments

Comments
 (0)