win32service.EnumServicesStatus
(tuple,...) = EnumServicesStatus(hSCManager, ServiceType , ServiceState )
Returns a tuple of status info for each service that meets specified criteria
Parameters
Return Value
Returns a sequence of tuples representing ENUM_SERVICE_STATUS structs: (ServiceName, DisplayName, SERVICE_STATUS)