 |
 |
Service ..msdn Add comment |
 |
|
CloseServiceHandle
|
|
The CloseServiceHandle function closes a handle to a service control manager or service object. |
|
 |
 |
 |
|
ControlService
|
|
The ControlService function sends a control code to a service.
|
|
 |
 |
 |
|
CreateService
|
|
Creates a service object and adds it to the specified service control manager database. |
|
 |
 |
 |
|
DeleteService
|
|
Marks the specified service for deletion from the service control manager database. |
|
 |
 |
 |
|
EnumServicesStatus
|
|
The EnumServicesStatus function enumerates services in the specified service control manager database. |
|
 |
 |
 |
|
GetUserObjectInformation
|
|
The GetUserObjectInformation function retrieves information about a window station or desktop object. |
|
 |
 |
 |
|
LockServiceDatabase
|
|
The LockServiceDatabase function requests ownership of the service control manager database lock. Only one process can own the lock at any given time.
|
|
 |
 |
 |
|
OpenSCManager
|
|
The OpenSCManager function establishes a connection to the service control manager on the specified computer and opens the specified service control manager database.
|
|
 |
 |
 |
|
OpenService
|
|
The OpenService function opens an existing service.
|
|
 |
 |
 |
|
StartService
|
|
The StartService function starts a service.
|
|
 |
 |
 |
|
UnlockServiceDatabase
|
|
The UnlockServiceDatabase function unlocks a service control manager database by releasing the specified lock.
|
|
 |
 |
 |
 |
| Code examples: |
 |
|
|
 |
|
|