[DEVMGR]
[reactos.git] / 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;