reboot instead of shutdown after driver update

svn path=/trunk/; revision=59096
This commit is contained in:
Christoph von Wittich 2013-05-28 17:18:41 +00:00
parent 7f37a7df7f
commit cd06cd0637

View file

@ -597,7 +597,7 @@ AdvProcDriverDlgProc(IN HWND hwndDlg,
}
/* Finally shut down the system */
if(!ExitWindowsEx(EWX_POWEROFF, SHTDN_REASON_MAJOR_OTHER | SHTDN_REASON_MINOR_OTHER | SHTDN_REASON_FLAG_PLANNED))
if(!ExitWindowsEx(EWX_REBOOT, SHTDN_REASON_MAJOR_OTHER | SHTDN_REASON_MINOR_OTHER | SHTDN_REASON_FLAG_PLANNED))
{
DPRINT("ExitWindowsEx failed\n");
break;