Disable ControlService() because of a bug in WIDL.

svn path=/trunk/; revision=14683
This commit is contained in:
Eric Kohl 2005-04-18 21:34:11 +00:00
parent 88e83d47c5
commit e2e4bed006
3 changed files with 11 additions and 4 deletions

View file

@ -39,10 +39,10 @@ cpp_quote("#endif");
[in] SC_HANDLE hSCObject);
/* Function 1 */
BOOL ScmrControlService([in] handle_t BindingHandle,
[in] SC_HANDLE hService,
[in] DWORD dwControl,
[out] LPSERVICE_STATUS lpServiceStatus);
// BOOL ScmrControlService([in] handle_t BindingHandle,
// [in] SC_HANDLE hService,
// [in] DWORD dwControl,
// [out] LPSERVICE_STATUS lpServiceStatus);
/* Function 2 */
DWORD ScmrDeleteService([in] handle_t BindingHandle,

View file

@ -169,6 +169,7 @@ ControlService(SC_HANDLE hService,
DWORD dwControl,
LPSERVICE_STATUS lpServiceStatus)
{
#if 0
DWORD dwError;
DPRINT("ControlService(%x, %x, %p)\n",
@ -191,6 +192,10 @@ ControlService(SC_HANDLE hService,
DPRINT("ControlService() done\n");
return TRUE;
#endif
DPRINT1("ControlService is unimplemented\n");
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}

View file

@ -272,6 +272,7 @@ ScmrCloseServiceHandle(handle_t BindingHandle,
/* Function 1 */
#if 0
unsigned long
ScmrControlService(handle_t BindingHandle,
unsigned int hService,
@ -295,6 +296,7 @@ ScmrControlService(handle_t BindingHandle,
return ERROR_SUCCESS;
}
#endif
/* Function 2 */