windows::Win32::System::Shutdown

Function ExitWindowsEx

pub unsafe fn ExitWindowsEx(
    uflags: EXIT_WINDOWS_FLAGS,
    dwreason: SHUTDOWN_REASON,
) -> Result<()>