Function winsafe::InitiateSystemShutdown
source · pub fn InitiateSystemShutdown(
machine_name: Option<&str>,
message: Option<&str>,
timeout: u32,
force_apps_closed: bool,
reboot_after_shutdown: bool
) -> SysResult<()>
Available on crate feature
kernel
only.Expand description
InitiateSystemShutdown
function.