Revert r18735 and add the missing definition to svcctl.idl.
[reactos.git] / reactos / lib / advapi32 / service / scm.c
index 61cad8b..36a9285 100644 (file)
@@ -121,7 +121,6 @@ ChangeServiceConfigW(SC_HANDLE hService,
                      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 @@ ChangeServiceConfigW(SC_HANDLE hService,
     }
 
     return TRUE;
-#else
-    DPRINT1("ChangeServiceConfigW temporarily disabled\n");
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
-#endif
 }