mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 02:43:48 +00:00
Reenable ControlService and fix syntax errors in svcctl.idl.
svn path=/trunk/; revision=14686
This commit is contained in:
parent
645c3e7497
commit
096c2a1089
|
@ -21,7 +21,7 @@
|
|||
]
|
||||
interface svcctl
|
||||
{
|
||||
cpp_quote("#if 0");
|
||||
cpp_quote("#if 0")
|
||||
typedef struct _SERVICE_STATUS
|
||||
{
|
||||
DWORD dwServiceType;
|
||||
|
@ -32,17 +32,17 @@ cpp_quote("#if 0");
|
|||
DWORD dwCheckPoint;
|
||||
DWORD dwWaitHint;
|
||||
} SERVICE_STATUS, *LPSERVICE_STATUS;
|
||||
cpp_quote("#endif");
|
||||
cpp_quote("#endif")
|
||||
|
||||
/* Function 0 */
|
||||
DWORD ScmrCloseServiceHandle([in] handle_t BindingHandle,
|
||||
[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,
|
||||
|
@ -85,7 +85,7 @@ cpp_quote("#endif");
|
|||
[in] DWORD dwErrorControl,
|
||||
[in, string, ref] LPCWSTR lpBinaryPathName,
|
||||
[in, string, unique] LPCWSTR lpLoadOrderGroup,
|
||||
[out, unique] LPDWORD lpdwTagId,
|
||||
[out] LPDWORD lpdwTagId,
|
||||
[in, string, unique] LPCWSTR lpDependencies,
|
||||
[in, string, unique] LPCWSTR lpServiceStartName,
|
||||
[in, string, unique] LPCWSTR lpPassword);
|
||||
|
@ -119,5 +119,4 @@ cpp_quote("#endif");
|
|||
[in, string] LPCSTR lpServiceName,
|
||||
[in] DWORD dwDesiredAccess,
|
||||
[out] SC_HANDLE *hScm);
|
||||
|
||||
}
|
||||
|
|
|
@ -169,7 +169,6 @@ ControlService(SC_HANDLE hService,
|
|||
DWORD dwControl,
|
||||
LPSERVICE_STATUS lpServiceStatus)
|
||||
{
|
||||
#if 0
|
||||
DWORD dwError;
|
||||
|
||||
DPRINT("ControlService(%x, %x, %p)\n",
|
||||
|
@ -192,10 +191,6 @@ ControlService(SC_HANDLE hService,
|
|||
DPRINT("ControlService() done\n");
|
||||
|
||||
return TRUE;
|
||||
#endif
|
||||
DPRINT1("ControlService is unimplemented\n");
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -272,7 +272,6 @@ ScmrCloseServiceHandle(handle_t BindingHandle,
|
|||
|
||||
|
||||
/* Function 1 */
|
||||
#if 0
|
||||
unsigned long
|
||||
ScmrControlService(handle_t BindingHandle,
|
||||
unsigned int hService,
|
||||
|
@ -296,7 +295,6 @@ ScmrControlService(handle_t BindingHandle,
|
|||
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/* Function 2 */
|
||||
|
|
Loading…
Reference in a new issue