Author: hpoussin
Date: Sun Aug 6 18:29:19 2006
New Revision: 23497
URL:
http://svn.reactos.org/svn/reactos?rev=23497&view=rev
Log:
Fix return type in .idl file
(advapi32.dll and services.exe already agreed on a error code status as return type)
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 (original)
+++ trunk/reactos/base/system/services/rpcserver.c Sun Aug 6 18:29:19 2006
@@ -1522,7 +1522,7 @@
/* Function 16 */
-unsigned int
+unsigned long
ScmrOpenServiceW(handle_t BindingHandle,
unsigned int hSCManager,
wchar_t *lpServiceName,
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 (original)
+++ trunk/reactos/include/reactos/idl/svcctl.idl Sun Aug 6 18:29:19 2006
@@ -46,11 +46,11 @@
[in] SC_HANDLE hSCObject);
/* Function 1 */
- BOOL ScmrControlService([in] handle_t BindingHandle,
- [in] SC_HANDLE hService,
- [in] DWORD dwControl,
- [out] SERVICE_STATUS *lpServiceStatus);
-/* [out] LPSERVICE_STATUS lpServiceStatus); */
+ DWORD ScmrControlService([in] handle_t BindingHandle,
+ [in] SC_HANDLE hService,
+ [in] DWORD dwControl,
+ [out] SERVICE_STATUS *lpServiceStatus);
+/* [out] LPSERVICE_STATUS lpServiceStatus); */
/* Function 2 */
DWORD ScmrDeleteService([in] handle_t BindingHandle,
@@ -165,11 +165,11 @@
[out] SC_HANDLE *hScm);
/* Function 16 */
- SC_HANDLE ScmrOpenServiceW([in] handle_t BindingHandle,
- [in] SC_HANDLE hSCManager,
- [in, string] LPCWSTR lpServiceName,
- [in] DWORD dwDesiredAccess,
- [out] SC_HANDLE *hScm);
+ DWORD ScmrOpenServiceW([in] handle_t BindingHandle,
+ [in] SC_HANDLE hSCManager,
+ [in, string] LPCWSTR lpServiceName,
+ [in] DWORD dwDesiredAccess,
+ [out] SC_HANDLE *hScm);
/* Function 17 */
DWORD ScmrQueryServiceConfigW([in] handle_t BindingHandle,