Author: fireball
Date: Thu May 10 00:52:08 2007
New Revision: 26667
URL:
http://svn.reactos.org/svn/reactos?rev=26667&view=rev
Log:
- Add error messages to prevent silent failing, no functionality change.
Modified:
trunk/reactos/base/system/winlogon/winlogon.c
Modified: trunk/reactos/base/system/winlogon/winlogon.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/winlo…
==============================================================================
--- trunk/reactos/base/system/winlogon/winlogon.c (original)
+++ trunk/reactos/base/system/winlogon/winlogon.c Thu May 10 00:52:08 2007
@@ -97,13 +97,22 @@
hSCManager = OpenSCManager(NULL, NULL, 0);
if (!hSCManager)
+ {
+ ERR("WL: Failed to OpenSCManager\n");
goto cleanup;
+ }
hService = OpenServiceW(hSCManager, ServiceName, SERVICE_START);
if (!hService)
+ {
+ ERR("WL: Failed to open the service\n");
goto cleanup;
+ }
if (!StartServiceW(hService, 0, NULL))
+ {
+ ERR("WL: Failed to start the service\n");
goto cleanup;
+ }
ret = TRUE;