win32service
.ControlService
SERVICE_STATUS
=
ControlService(
scHandle
, code
)
Sends a control message to a service.
Parameters
scHandle
:
PySC_HANDLE
Handle to control
code
: int
The service control code.
Return Value
The result is the new service status.