Show shutdown dialog at the logon screen if the user wants to shutdown. Patch by Jared Smudde.
CORE-9919 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=68562
This commit is contained in:
Eric Kohl 2015-07-22 20:28:51 +00:00
parent 33f303a420
commit 4317118d34

View file

@ -1161,7 +1161,8 @@ LoggedOutWindowProc(
return TRUE;
case IDC_SHUTDOWN:
EndDialog(hwndDlg, WLX_SAS_ACTION_SHUTDOWN);
if (OnShutDown(hwndDlg, pgContext) == IDOK)
EndDialog(hwndDlg, pgContext->nShutdownAction);
return TRUE;
}
break;