win32service.OpenSCManager

PySC_HANDLE = OpenSCManager(machineName, dbName , desiredAccess )

Returns a handle to the service control manager

Parameters

machineName : string

The name of the computer, or None

dbName : string

The name of the service database, or None

desiredAccess : int

The access desired. (combination of win32service.SC_MANAGER_* flags)