mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:06:04 +00:00
[WINLOGON] Close all dialog boxes on SAS
CORE-13593
This commit is contained in:
parent
e9e14be661
commit
02f3cb5381
3 changed files with 9 additions and 15 deletions
|
@ -1157,9 +1157,7 @@ DispatchSAS(
|
|||
case STATE_LOGGED_OFF:
|
||||
Session->LogonState = STATE_LOGGED_OFF_SAS;
|
||||
|
||||
hwnd = GetTopDialogWindow();
|
||||
if (hwnd != NULL)
|
||||
SendMessage(hwnd, WLX_WM_SAS, 0, 0);
|
||||
CloseAllDialogWindows();
|
||||
|
||||
Session->Options = 0;
|
||||
|
||||
|
@ -1192,9 +1190,7 @@ DispatchSAS(
|
|||
case STATE_LOCKED:
|
||||
Session->LogonState = STATE_LOCKED_SAS;
|
||||
|
||||
hwnd = GetTopDialogWindow();
|
||||
if (hwnd != NULL)
|
||||
SendMessage(hwnd, WLX_WM_SAS, 0, 0);
|
||||
CloseAllDialogWindows();
|
||||
|
||||
wlxAction = (DWORD)Session->Gina.Functions.WlxWkstaLockedSAS(Session->Gina.Context, dwSasType);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue