Module win32service

An interface to the Windows NT Service API

Methods

GetThreadDesktop
Retrieves a handle to the desktop for a thread 

EnumWindowStations
Lists names of window stations 

GetUserObjectInformation
Returns specified type of info about a window station or desktop 

SetUserObjectInformation
Set specified type of info for a window station or desktop object 

OpenWindowStation
Returns a handle to the specified window station 

OpenDesktop
Opens a handle to a desktop 

CreateDesktop
Creates a new desktop in calling process's current window station 

OpenInputDesktop
Returns a handle to desktop for logged-in user 

GetProcessWindowStation
Returns a handle to calling process's current window station 

CreateWindowStation
Creates a new window station 

EnumServicesStatus
Returns a tuple of status info for each service that meets specified criteria 

EnumServicesStatusEx
Lists the status of services that meet the specified criteria 

EnumDependentServices
Lists services that depend on a service 

QueryServiceConfig
Retrieves configuration parameters for a service 

StartService
Starts the specified service 

OpenService
Returns a handle to the specified service. 

OpenSCManager
Returns a handle to the service control manager 

CloseServiceHandle
Closes a service or SCM handle 

QueryServiceStatus
Queries a service status 

QueryServiceStatusEx
Queries a service status 

SetServiceObjectSecurity
Set the security descriptor for a service 

QueryServiceObjectSecurity
Retrieves information from the security descriptor for a service 

GetServiceKeyName
Translates a service display name into its registry key name 

GetServiceDisplayName
Translates an internal service name into its display name 

SetServiceStatus
Sets a service status 

ControlService
Sends a control message to a service. 

DeleteService
Deletes the specified service 

CreateService
Creates a new service. 

ChangeServiceConfig
Changes the configuration of an existing service. 

LockServiceDatabase
Locks the service database. 

UnlockServiceDatabase
Unlocks the service database. 

QueryServiceLockStatus
Retrieves the lock status of the specified service control manager database. 

ChangeServiceConfig2
Modifies advanced service parameters 

QueryServiceConfig2
Retrieves advanced service configuration options