- Disable some debug messages.

- Fix the prototype of RI_ScGetCurrentGroupStateW (Function 34).

svn path=/trunk/; revision=36194
This commit is contained in:
Eric Kohl 2008-09-13 18:22:34 +00:00
parent 1a8524f176
commit 4a6d6e6f71
2 changed files with 14 additions and 8 deletions

View file

@ -458,8 +458,8 @@ DWORD RCloseServiceHandle(
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 @@ DWORD RCreateServiceW(
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 @@ DWORD ROpenServiceW(
}
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 @@ DWORD RGetServiceKeyNameA(
/* 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;

View file

@ -614,8 +614,11 @@ interface svcctl
[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(