win32service.EnumDependentServices

(tuple,...) = EnumDependentServices(hService, ServiceState )

Lists services that depend on a service

Parameters

hService : PySC_HANDLE

Handle to service for which to list dependent services (as returned by win32service::OpenService)

ServiceState=SERVICE_STATE_ALL : int

Limits to services in specified state - One of SERVICE_STATE_ALL, SERVICE_ACTIVE, SERVICE_INACTIVE

Return Value

Returns a sequence of tuples representing ENUM_SERVICE_STATUS structs: (ServiceName, DisplayName, SERVICE_STATUS)