<< Gesamtübersicht | << Klassenübersicht | Details der Klasse | Funktionsbeschreibungen |
Verwaltet Betriebssystem-Dienste.
Basisklassen(n) | abgeleitete Klassen | |
---|---|---|
SServiceManager |
|
Attribut | Typ | Beschreibung |
---|---|---|
hService | SC_HANDLE |
Name | Parameter | Rückgabewert | Beschreibung |
---|---|---|---|
closeServiceHandle | void | ||
controlService | const SString& sName, int controlCode=SERVICE_CONTROL_INTERROGATE |
BOOL | |
createService | const SString& sName, const SString& dName, const SString& path |
BOOL | |
createServiceEx | const SString& sName, const SString& dName, int access, int serviceType, int startType, int errorControl, const SString& path, const SString& loadOrderGroup, int tagId, const SString& dependencies, const SString& username, const SString& password |
BOOL | |
deleteService | const SString& sName | BOOL | |
getAllServices | SStringList& paAllServices, int serviceType=SERVICE_WIN32, int serviceState=SERVICE_STATE_ALL |
int | |
openService | const SString& sName, int access=STANDARD_RIGHTS_REQUIRED |
BOOL | |
serviceExists | const SString& sName | BOOL | |
serviceIsRunning | const SString& sName | BOOL | |
setServiceDescription | const SString& sName, const SString& description |
BOOL | |
startService | const SString& sName, DWORD argc=0, LPCSTR* argv=NULL |
BOOL | |
stopService | const SString& sName | BOOL |
Verwaltet Betriebssystem-Dienste.
closeServiceHandle() void |
![]() ![]() |
controlService(const SString& sName, int controlCode=SERVICE_CONTROL_INTERROGATE) BOOL |
![]() ![]() |
createService(const SString& sName, const SString& dName,const SString& path) BOOL |
![]() ![]() |
deleteService(const SString& sName) BOOL |
![]() ![]() |
getAllServices(SStringList& paAllServices, int serviceType=SERVICE_WIN32, int serviceState=SERVICE_STATE_ALL) int |
![]() ![]() |
openService(const SString& sName, int access=STANDARD_RIGHTS_REQUIRED) BOOL |
![]() ![]() |
serviceExists(const SString& sName) BOOL |
![]() ![]() |
serviceIsRunning(const SString& sName) BOOL |
![]() ![]() |
setServiceDescription(const SString& sName, const SString& description) BOOL |
![]() ![]() |
startService(const SString& sName, DWORD argc=0, LPCSTR* argv=NULL) BOOL |
![]() ![]() |
stopService(const SString& sName) BOOL |
![]() ![]() |
<< Gesamtübersicht | << Klassenübersicht | Details der Klasse | Funktionsbeschreibungen |