win32service.SetServiceStatus

SetServiceStatus(scHandle, serviceStatus)

Sets a service status

Parameters

scHandle : int

Handle to set

serviceStatus : SERVICE_STATUS

The new status