mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 17:12:57 +00:00
- Disable some debug messages.
- Fix the prototype of RI_ScGetCurrentGroupStateW (Function 34). svn path=/trunk/; revision=36194
This commit is contained in:
parent
1a8524f176
commit
4a6d6e6f71
2 changed files with 14 additions and 8 deletions
|
@ -458,8 +458,8 @@ DWORD RCloseServiceHandle(
|
||||||
ASSERT(lpService->dwRefCount > 0);
|
ASSERT(lpService->dwRefCount > 0);
|
||||||
|
|
||||||
lpService->dwRefCount--;
|
lpService->dwRefCount--;
|
||||||
DPRINT1("CloseServiceHandle - lpService->dwRefCount %u\n",
|
DPRINT("CloseServiceHandle - lpService->dwRefCount %u\n",
|
||||||
lpService->dwRefCount);
|
lpService->dwRefCount);
|
||||||
|
|
||||||
if (lpService->dwRefCount == 0)
|
if (lpService->dwRefCount == 0)
|
||||||
{
|
{
|
||||||
|
@ -1953,7 +1953,7 @@ DWORD RCreateServiceW(
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
lpService->dwRefCount = 1;
|
lpService->dwRefCount = 1;
|
||||||
DPRINT1("CreateService - lpService->dwRefCount %u\n", lpService->dwRefCount);
|
DPRINT("CreateService - lpService->dwRefCount %u\n", lpService->dwRefCount);
|
||||||
|
|
||||||
done:;
|
done:;
|
||||||
if (hServiceKey != NULL)
|
if (hServiceKey != NULL)
|
||||||
|
@ -2429,7 +2429,7 @@ DWORD ROpenServiceW(
|
||||||
}
|
}
|
||||||
|
|
||||||
lpService->dwRefCount++;
|
lpService->dwRefCount++;
|
||||||
DPRINT1("OpenService - lpService->dwRefCount %u\n",lpService->dwRefCount);
|
DPRINT("OpenService - lpService->dwRefCount %u\n",lpService->dwRefCount);
|
||||||
|
|
||||||
*lpServiceHandle = (SC_RPC_HANDLE)hHandle;
|
*lpServiceHandle = (SC_RPC_HANDLE)hHandle;
|
||||||
DPRINT("*hService = %p\n", *lpServiceHandle);
|
DPRINT("*hService = %p\n", *lpServiceHandle);
|
||||||
|
@ -3829,8 +3829,11 @@ DWORD RGetServiceKeyNameA(
|
||||||
|
|
||||||
|
|
||||||
/* Function 34 */
|
/* Function 34 */
|
||||||
DWORD RGetCurrentGroupStateW(
|
DWORD RI_ScGetCurrentGroupStateW(
|
||||||
handle_t BindingHandle)
|
handle_t BindingHandle,
|
||||||
|
SC_RPC_HANDLE hSCManager,
|
||||||
|
LPWSTR lpLoadOrderGroup,
|
||||||
|
LPDWORD lpState)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||||
|
|
|
@ -614,8 +614,11 @@ interface svcctl
|
||||||
[in, out] LPBOUNDED_DWORD_4K lpcchBuffer);
|
[in, out] LPBOUNDED_DWORD_4K lpcchBuffer);
|
||||||
|
|
||||||
/* Function 34 */
|
/* Function 34 */
|
||||||
DWORD RGetCurrentGroupStateW(
|
DWORD RI_ScGetCurrentGroupStateW(
|
||||||
[in] handle_t BindingHandle); /* FIXME */
|
[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 */
|
/* Function 35 */
|
||||||
DWORD REnumServiceGroupW(
|
DWORD REnumServiceGroupW(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue