NT service (setting Description string)

Thomas Heller theller at python.net
Wed Mar 3 08:32:52 CET 2004


"Larry Bates" <lbates at swamisoft.com> writes:

> Anybody know what variable I need to define in my
> class to set the long description that shows up
> in the Services control panel applet?
>
> _svc_name_         holds the short name
> _svc_display_name_ holds the long name
> _svc_?????_        holds the description

There isn't any yet.  Apparently you have to call the win32 api
ChangeServiceConfig2() (but maybe it can also be done with the wmi
module).

Thomas





More information about the Python-list mailing list