MCPcopy Index your code
hub / github.com/RustPython/RustPython / TerminateProcess

Function TerminateProcess

crates/vm/src/stdlib/_winapi.rs:612–616  ·  view source on GitHub ↗
(h: WinHandle, exit_code: u32)

Source from the content-addressed store, hash-verified

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(

Callers 1

killFunction · 0.85

Calls 1

WindowsSysResultClass · 0.85

Tested by

no test coverage detected