[DEVMGR]
authorChristoph von Wittich <christoph_vw@reactos.org>
Tue, 28 May 2013 17:18:41 +0000 (17:18 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Tue, 28 May 2013 17:18:41 +0000 (17:18 +0000)
reboot instead of shutdown after driver update

svn path=/trunk/; revision=59096

reactos/dll/win32/devmgr/advprop.c

index dfc8d35..393120b 100644 (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;