[python-win32] Listing Win32 services
Moore, Paul
Paul.Moore at atosorigin.com
Mon Jun 30 17:40:26 EDT 2003
I've searched the win32all documentation, and I can't find a way
of listing all of the services on a machine. The API call would be
EnumServicesStatus(Ex), but win32all doesn't seem to wrap that one.
I'm trying to write something a bit like the resource kit "sclist"
command - a list of services, one per line, plus the service status
(stopped, started, whatever).
Have I missed something, or am I going to have to do something
low-level with ctypes?
Paul.
More information about the Python-win32
mailing list