(h: WinHandle, exit_code: u32)
| 610 | |
| 611 | #[pyfunction] |
| 612 | fn TerminateProcess(h: WinHandle, exit_code: u32) -> WindowsSysResult<i32> { |
| 613 | WindowsSysResult(unsafe { |
| 614 | windows_sys::Win32::System::Threading::TerminateProcess(h.0, exit_code) |
| 615 | }) |
| 616 | } |
| 617 | |
| 618 | #[pyfunction] |
| 619 | fn CreateJobObject( |