Function winsafe::InitiateSystemShutdownEx

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