Author: janderwald
Date: Sat Feb 7 09:35:07 2009
New Revision: 39458
URL:
http://svn.reactos.org/svn/reactos?rev=39458&view=rev
Log:
- Add a hack
Modified:
trunk/reactos/dll/win32/advapi32/service/scm.c
Modified: trunk/reactos/dll/win32/advapi32/service/scm.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/service…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/service/scm.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/service/scm.c [iso-8859-1] Sat Feb 7 09:35:07 2009
@@ -229,10 +229,11 @@
{
case SERVICE_CONFIG_DESCRIPTION:
Info.psd = (LPSERVICE_DESCRIPTIONA)&lpInfo;
+ Info.lpDescription = ((LPSERVICE_DESCRIPTIONA)lpInfo)->lpDescription;
//HACK
break;
case SERVICE_CONFIG_FAILURE_ACTIONS:
- Info.psfa = (LPSERVICE_FAILURE_ACTIONSA)&lpInfo;
+ Info.psfa = (LPSERVICE_FAILURE_ACTIONSA)lpInfo;
break;
default:
@@ -2000,7 +2001,7 @@
{
DWORD dwError;
- TRACE("QueryServiceConfig2A(%p, %lu, %p, %lu, %p)\n",
+ DbgPrint("QueryServiceConfig2A(hService %p, dwInfoLevel %lu, lpBuffer %p,
cbBufSize %lu, pcbBytesNeeded %p)\n",
hService, dwInfoLevel, lpBuffer, cbBufSize, pcbBytesNeeded);
if (dwInfoLevel != SERVICE_CONFIG_DESCRIPTION &&