(wait_handle: isize, event: isize, vm: &VirtualMachine)
| 1814 | |
| 1815 | #[pyfunction] |
| 1816 | fn UnregisterWaitEx(wait_handle: isize, event: isize, vm: &VirtualMachine) -> PyResult<()> { |
| 1817 | use windows_sys::Win32::System::Threading::UnregisterWaitEx; |
| 1818 | |
| 1819 | let ret = unsafe { UnregisterWaitEx(wait_handle as HANDLE, event as HANDLE) }; |
| 1820 | // Cleanup callback data regardless of UnregisterWaitEx result |
| 1821 | cleanup_wait_callback_data(wait_handle); |
| 1822 | if ret == 0 { |
| 1823 | return Err(set_from_windows_err(0, vm)); |
| 1824 | } |
| 1825 | Ok(()) |
| 1826 | } |
| 1827 | |
| 1828 | #[pyfunction] |
| 1829 | fn BindLocal(socket: isize, family: i32, vm: &VirtualMachine) -> PyResult<()> { |
nothing calls this directly
no test coverage detected