windows::Win32::System::Shutdown

Function InitiateSystemShutdownExW

pub unsafe fn InitiateSystemShutdownExW<P0, P1>(
    lpmachinename: P0,
    lpmessage: P1,
    dwtimeout: u32,
    bforceappsclosed: bool,
    brebootaftershutdown: bool,
    dwreason: SHUTDOWN_REASON,
) -> Result<()>
where P0: Param<PCWSTR>, P1: Param<PCWSTR>,