diff options
| author | York Xiang <bombless@126.com> | 2015-06-03 17:37:33 +0800 |
|---|---|---|
| committer | York Xiang <bombless@126.com> | 2015-06-04 21:45:35 +0800 |
| commit | dc15a523e5584df354c8ee06231506f0ae494f49 (patch) | |
| tree | 941b642ddb45fa8df993dc2eae9df884137dc724 /src/liblibc | |
| parent | 2c8d75d655b7d0bf84178f464c47a79569a35f3c (diff) | |
| download | rust-dc15a523e5584df354c8ee06231506f0ae494f49.tar.gz rust-dc15a523e5584df354c8ee06231506f0ae494f49.zip | |
crate libc: Correct signature of `WriteFile`
Diffstat (limited to 'src/liblibc')
| -rw-r--r-- | src/liblibc/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblibc/lib.rs b/src/liblibc/lib.rs index 8fe1ddcf275..b7a40a3f9cf 100644 --- a/src/liblibc/lib.rs +++ b/src/liblibc/lib.rs @@ -6308,8 +6308,8 @@ pub mod funcs { lpOverlapped: LPOVERLAPPED) -> BOOL; pub fn WriteFile(hFile: HANDLE, lpBuffer: LPVOID, - nNumberOfBytesToRead: DWORD, - lpNumberOfBytesRead: LPDWORD, + nNumberOfBytesToWrite: DWORD, + lpNumberOfBytesWritten: LPDWORD, lpOverlapped: LPOVERLAPPED) -> BOOL; pub fn SetFilePointerEx(hFile: HANDLE, liDistanceToMove: LARGE_INTEGER, |
