win32service.ChangeServiceConfig

int/None = ChangeServiceConfig(hService, serviceType , startType , errorControl , binaryFile , loadOrderGroup , bFetchTag , serviceDeps , acctName , password , displayName )

Changes the configuration of an existing service.

Parameters

hService : PySC_HANDLE

handle to service to be modified

serviceType : int

type of service, or SERVICE_NO_CHANGE

startType : int

When/how to start service, or SERVICE_NO_CHANGE

errorControl : int

severity if service fails to start, or SERVICE_NO_CHANGE

binaryFile : string

name of binary file, or None

loadOrderGroup : string

name of load ordering group , or None

bFetchTag : int

Should the tag be fetched and returned? If TRUE, the result is the tag, else None.

serviceDeps : [string,...]

sequence of dependency names

acctName : string

account name of service, or None

password : string

password for service account , or None

displayName : string

Display name