Author: ekohl
Date: Sat Sep 13 13:22:34 2008
New Revision: 36194
URL:
http://svn.reactos.org/svn/reactos?rev=36194&view=rev
Log:
- Disable some debug messages.
- Fix the prototype of RI_ScGetCurrentGroupStateW (Function 34).
Modified:
trunk/reactos/base/system/services/rpcserver.c
trunk/reactos/include/reactos/idl/svcctl.idl
Modified: trunk/reactos/base/system/services/rpcserver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/rpcse…
==============================================================================
--- trunk/reactos/base/system/services/rpcserver.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/rpcserver.c [iso-8859-1] Sat Sep 13 13:22:34 2008
@@ -458,8 +458,8 @@
ASSERT(lpService->dwRefCount > 0);
lpService->dwRefCount--;
- DPRINT1("CloseServiceHandle - lpService->dwRefCount %u\n",
- lpService->dwRefCount);
+ DPRINT("CloseServiceHandle - lpService->dwRefCount %u\n",
+ lpService->dwRefCount);
if (lpService->dwRefCount == 0)
{
@@ -1953,7 +1953,7 @@
goto done;
lpService->dwRefCount = 1;
- DPRINT1("CreateService - lpService->dwRefCount %u\n",
lpService->dwRefCount);
+ DPRINT("CreateService - lpService->dwRefCount %u\n",
lpService->dwRefCount);
done:;
if (hServiceKey != NULL)
@@ -2429,7 +2429,7 @@
}
lpService->dwRefCount++;
- DPRINT1("OpenService - lpService->dwRefCount
%u\n",lpService->dwRefCount);
+ DPRINT("OpenService - lpService->dwRefCount
%u\n",lpService->dwRefCount);
*lpServiceHandle = (SC_RPC_HANDLE)hHandle;
DPRINT("*hService = %p\n", *lpServiceHandle);
@@ -3829,8 +3829,11 @@
/* Function 34 */
-DWORD RGetCurrentGroupStateW(
- handle_t BindingHandle)
+DWORD RI_ScGetCurrentGroupStateW(
+ handle_t BindingHandle,
+ SC_RPC_HANDLE hSCManager,
+ LPWSTR lpLoadOrderGroup,
+ LPDWORD lpState)
{
UNIMPLEMENTED;
return ERROR_CALL_NOT_IMPLEMENTED;
Modified: trunk/reactos/include/reactos/idl/svcctl.idl
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/idl/svcctl…
==============================================================================
--- trunk/reactos/include/reactos/idl/svcctl.idl [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/idl/svcctl.idl [iso-8859-1] Sat Sep 13 13:22:34 2008
@@ -614,8 +614,11 @@
[in, out] LPBOUNDED_DWORD_4K lpcchBuffer);
/* Function 34 */
- DWORD RGetCurrentGroupStateW(
- [in] handle_t BindingHandle); /* FIXME */
+ DWORD RI_ScGetCurrentGroupStateW(
+ [in] handle_t BindingHandle,
+ [in] SC_RPC_HANDLE hSCManager,
+ [in, string, unique, range(0, SC_MAX_NAME_LENGTH)] LPWSTR lpLoadOrderGroup,
+ [out] LPDWORD lpState);
/* Function 35 */
DWORD REnumServiceGroupW(