win32service.GetServiceKeyName

string = GetServiceKeyName(hSCManager, DisplayName )

Translates a service display name into its registry key name

Parameters

hSCManager : PySC_HANDLE

Handle to service control manager as returned by win32service::OpenSCManager

DisplayName : string

Display name of a service