Author: sserapion
Date: Wed Oct 22 23:12:08 2008
New Revision: 36903
URL:
http://svn.reactos.org/svn/reactos?rev=36903&view=rev
Log:
Fix ScmGetServiceEntryByClientHandle definition.
Modified:
branches/ros-amd64-bringup/reactos/base/system/services/database.c
branches/ros-amd64-bringup/reactos/base/system/services/rpcserver.c
branches/ros-amd64-bringup/reactos/base/system/services/services.h
Modified: branches/ros-amd64-bringup/reactos/base/system/services/database.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/system/services/database.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/base/system/services/database.c [iso-8859-1] Wed
Oct 22 23:12:08 2008
@@ -117,7 +117,7 @@
PSERVICE
-ScmGetServiceEntryByClientHandle(ULONG Handle)
+ScmGetServiceEntryByClientHandle(HANDLE Handle)
{
PLIST_ENTRY ServiceEntry;
PSERVICE CurrentService;
Modified: branches/ros-amd64-bringup/reactos/base/system/services/rpcserver.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/system/services/rpcserver.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/base/system/services/rpcserver.c [iso-8859-1] Wed
Oct 22 23:12:08 2008
@@ -1026,7 +1026,7 @@
return ERROR_INVALID_HANDLE;
}
- lpService = ScmGetServiceEntryByClientHandle((ULONG)hServiceStatus);
+ lpService = ScmGetServiceEntryByClientHandle(hServiceStatus);
if (lpService == NULL)
{
DPRINT1("lpService == NULL!\n");
Modified: branches/ros-amd64-bringup/reactos/base/system/services/services.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/system/services/services.h [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/base/system/services/services.h [iso-8859-1] Wed
Oct 22 23:12:08 2008
@@ -107,7 +107,7 @@
PSERVICE ScmGetServiceEntryByName(LPWSTR lpServiceName);
PSERVICE ScmGetServiceEntryByDisplayName(LPWSTR lpDisplayName);
PSERVICE ScmGetServiceEntryByResumeCount(DWORD dwResumeCount);
-PSERVICE ScmGetServiceEntryByClientHandle(ULONG ThreadId);
+PSERVICE ScmGetServiceEntryByClientHandle(HANDLE Handle);
DWORD ScmCreateNewServiceRecord(LPWSTR lpServiceName,
PSERVICE *lpServiceRecord);
VOID ScmDeleteServiceRecord(PSERVICE lpService);