diff --git a/reactos/lib/msgina/msgina.c b/reactos/lib/msgina/msgina.c index ca32556981c..61fdab00692 100644 --- a/reactos/lib/msgina/msgina.c +++ b/reactos/lib/msgina/msgina.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: msgina.c,v 1.7 2003/12/27 11:09:58 weiden Exp $ +/* $Id: msgina.c,v 1.8 2004/03/27 23:24:51 weiden Exp $ * * PROJECT: ReactOS msgina.dll * FILE: lib/msgina/msgina.c @@ -203,7 +203,7 @@ WlxActivateUserShell( if(RegOpenKeyExW(HKEY_LOCAL_MACHINE, L"SOFTWARE\\ReactOS\\Windows NT\\CurrentVersion\\Winlogon", 0, KEY_QUERY_VALUE, &hKey) != ERROR_SUCCESS) - { + {DbgPrint("GINA: Failed: 1\n"); VirtualFree(pEnvironment, 0, MEM_RELEASE); return FALSE; } @@ -211,7 +211,7 @@ WlxActivateUserShell( if((RegQueryValueEx(hKey, L"Userinit", NULL, &ValueType, (LPBYTE)pszUserInitApp, &BufSize) != ERROR_SUCCESS) || !((ValueType == REG_SZ) || (ValueType == REG_EXPAND_SZ))) - { + {DbgPrint("GINA: Failed: 2\n"); RegCloseKey(hKey); VirtualFree(pEnvironment, 0, MEM_RELEASE); return FALSE; @@ -243,7 +243,7 @@ WlxActivateUserShell( NULL, &si, &pi); - + if(!Ret) DbgPrint("GINA: Failed: 3\n"); VirtualFree(pEnvironment, 0, MEM_RELEASE); return Ret; } @@ -447,6 +447,18 @@ WlxRemoveStatusMessage( } +/* + * @implemented + */ +VOID WINAPI +WlxDisplaySASNotice( + PVOID pWlxContext) +{ + PGINA_CONTEXT pgContext = (PGINA_CONTEXT)pWlxContext; + pgContext->pWlxFuncs->WlxSasNotify(pgContext->hWlx, WLX_SAS_TYPE_CTRL_ALT_DEL); +} + + BOOL STDCALL DllMain( HINSTANCE hinstDLL, diff --git a/reactos/lib/msgina/stubs.c b/reactos/lib/msgina/stubs.c index 529a52ae893..e14df0d1161 100644 --- a/reactos/lib/msgina/stubs.c +++ b/reactos/lib/msgina/stubs.c @@ -1,4 +1,4 @@ -/* $Id: stubs.c,v 1.5 2003/12/01 18:21:04 weiden Exp $ +/* $Id: stubs.c,v 1.6 2004/03/27 23:24:51 weiden Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS msgina.dll @@ -50,18 +50,6 @@ WlxDisplayLockedNotice( } -/* - * @unimplemented - */ -VOID WINAPI -WlxDisplaySASNotice( - PVOID pWlxContext) -{ - UNIMPLEMENTED; - return; -} - - /* * @unimplemented */