--- trunk/reactos/include/idl/svcctl.idl 2005-10-24 14:00:14 UTC (rev 18736)
+++ trunk/reactos/include/idl/svcctl.idl 2005-10-24 15:26:54 UTC (rev 18737)
@@ -74,8 +74,22 @@
/* Function 9 */
DWORD ScmrNotifyBootConfigStatus([in] handle_t BindingHandle,
[in] BOOL BootAcceptable);
+ /* Function 11 */
+ DWORD ScmrChangeServiceConfigW([in] handle_t BiningHandle,
+ [in] SC_HANDLE hSCManager,
+ [in] DWORD dwServiceType,
+ [in] DWORD dwStartType,
+ [in] DWORD dwErrorControl,
+ [in, string, ref] LPCWSTR lpBinaryPathName,
+ [in, string, unique] LPCWSTR lpLoadOrderGroup,
+ [in, out, unique] LPDWORD lpdwTagId,
+ [in, size_is(dwDependenciesLength), unique] LPCWSTR lpDependencies,
+ [in] DWORD dwDependenciesLength,
+ [in, string, unique] LPCWSTR lpServiceStartName,
+ [in, size_is(dwPasswordLength), unique] LPCWSTR lpPassword,
+ [in] DWORD dwPasswordLength,
+ [in, string, unique] LPCWSTR lpDisplayName);
-
/* Function 12 */
DWORD ScmrCreateServiceW([in] handle_t BindingHandle,
[in] SC_HANDLE hSCManager,
--- trunk/reactos/lib/advapi32/service/scm.c 2005-10-24 14:00:14 UTC (rev 18736)
+++ trunk/reactos/lib/advapi32/service/scm.c 2005-10-24 15:26:54 UTC (rev 18737)
@@ -121,7 +121,6 @@
LPCWSTR lpPassword,
LPCWSTR lpDisplayName)
{
-#if 0 /* Temporarily deactivated to fix the build (ScmrChangeServiceConfigW is missing */
DWORD dwError;
DWORD dwDependenciesLength = 0;
DWORD dwLength;
@@ -169,11 +168,6 @@
}
return TRUE;
-#else
- DPRINT1("ChangeServiceConfigW temporarily disabled\n");
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
-#endif
}