mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[msgina]
- Switch to the winlogon desktop when we show the LogedOn dialog svn path=/trunk/; revision=58785
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user