Function terminate
Source pub fn terminate(process: HANDLE, code: c_uint) -> Result<()>
Expand description
Terminates process.
§Parameters
process
- Pointer to a opened process.
code
- Exit code that shall be used by affected process.
§Note:
It prevents process from running any clean-up.