mirror of
https://github.com/reactos/reactos.git
synced 2025-07-07 17:17:59 +00:00
[msgina]
- Switch to the winlogon desktop when we show the LogedOn dialog svn path=/trunk/; revision=58785
This commit is contained in:
parent
25aef73037
commit
7aecedf790
1 changed files with 15 additions and 4 deletions
|
@ -322,6 +322,9 @@ GUILoggedOnSAS(
|
||||||
return WLX_SAS_ACTION_NONE;
|
return WLX_SAS_ACTION_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
result = pgContext->pWlxFuncs->WlxSwitchDesktopToWinlogon(
|
||||||
|
pgContext->hWlx);
|
||||||
|
|
||||||
result = pgContext->pWlxFuncs->WlxDialogBoxParam(
|
result = pgContext->pWlxFuncs->WlxDialogBoxParam(
|
||||||
pgContext->hWlx,
|
pgContext->hWlx,
|
||||||
pgContext->hDllInstance,
|
pgContext->hDllInstance,
|
||||||
|
@ -329,12 +332,20 @@ GUILoggedOnSAS(
|
||||||
GetDesktopWindow(),
|
GetDesktopWindow(),
|
||||||
LoggedOnWindowProc,
|
LoggedOnWindowProc,
|
||||||
(LPARAM)pgContext);
|
(LPARAM)pgContext);
|
||||||
if (result >= WLX_SAS_ACTION_LOGON &&
|
|
||||||
result <= WLX_SAS_ACTION_SWITCH_CONSOLE)
|
if (result < WLX_SAS_ACTION_LOGON ||
|
||||||
|
result > WLX_SAS_ACTION_SWITCH_CONSOLE)
|
||||||
{
|
{
|
||||||
return result;
|
result = WLX_SAS_ACTION_NONE;
|
||||||
}
|
}
|
||||||
return WLX_SAS_ACTION_NONE;
|
|
||||||
|
if (result == WLX_SAS_ACTION_NONE)
|
||||||
|
{
|
||||||
|
result = pgContext->pWlxFuncs->WlxSwitchDesktopToUser(
|
||||||
|
pgContext->hWlx);
|
||||||
|
}
|
||||||
|
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
static INT_PTR CALLBACK
|
static INT_PTR CALLBACK
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue