| ... | @@ -682,7 +682,7 @@ pub fn WriteFile( | ... | @@ -682,7 +682,7 @@ pub fn WriteFile( |
| 682 | .OPERATION_ABORTED => return error.OperationAborted, | 682 | .OPERATION_ABORTED => return error.OperationAborted, |
| 683 | .NOT_ENOUGH_QUOTA => return error.SystemResources, | 683 | .NOT_ENOUGH_QUOTA => return error.SystemResources, |
| 684 | .IO_PENDING => unreachable, | 684 | .IO_PENDING => unreachable, |
| 685 | .BROKEN_PIPE => return error.BrokenPipe, | 685 | .NO_DATA => return error.BrokenPipe, |
| 686 | .INVALID_HANDLE => return error.NotOpenForWriting, | 686 | .INVALID_HANDLE => return error.NotOpenForWriting, |
| 687 | .LOCK_VIOLATION => return error.LockViolation, | 687 | .LOCK_VIOLATION => return error.LockViolation, |
| 688 | .NETNAME_DELETED => return error.ConnectionResetByPeer, | 688 | .NETNAME_DELETED => return error.ConnectionResetByPeer, |