ControlService3w
Usage
BOOL ControlService
(
SC_HANDLE hService,
DWORD dwControl,
LPSERVICE_STATUS lpServiceStatus
)
Overview
Send a control code to a service.
Params
hService [In] Handle of the service control manager database.
dwControl [In] Control code to send (SERVICE_CONTROL_* flags from "winsvc.h").
lpServiceStatus [Out] Destination for the status of the service, if available.
Returns
Success: TRUE.
Failure: FALSE.
Implementation
Declared in "winsvc.h".
Implemented in "dlls/advapi32/service.c".
Debug channel "service".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.