Revert r18735 and add the missing definition to svcctl.idl.

svn path=/trunk/; revision=18737
This commit is contained in:
Hartmut Birr 2005-10-24 15:26:54 +00:00
parent 80e769db8d
commit c078ce1a67
2 changed files with 15 additions and 7 deletions

View file

@ -74,7 +74,21 @@ cpp_quote("#endif")
/* 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,

View 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
}