mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:26:17 +00:00
Disable ControlService() because of a bug in WIDL.
svn path=/trunk/; revision=14683
This commit is contained in:
parent
88e83d47c5
commit
e2e4bed006
3 changed files with 11 additions and 4 deletions
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue