(ov: &mut OVERLAPPED)
| 271 | } |
| 272 | |
| 273 | fn mark_as_completed(ov: &mut OVERLAPPED) { |
| 274 | ov.Internal = 0; |
| 275 | if !ov.hEvent.is_null() { |
| 276 | unsafe { windows_sys::Win32::System::Threading::SetEvent(ov.hEvent) }; |
| 277 | } |
| 278 | } |
| 279 | |
| 280 | fn set_from_windows_err(err: u32, vm: &VirtualMachine) -> PyBaseExceptionRef { |
| 281 | let err = if err == 0 { |
no test coverage detected