win32_start_service
(PECL win32service SVN)
win32_start_service — Starts a service
Beschreibung
int win32_start_service
( string
$servicename
[, string $machine
] )Attempts to start the named service. Usually requires administrative privileges.
Parameter-Liste
-
servicename -
The short name of the service.
-
machine -
Optional machine name. If omitted, the local machine is used.
Rückgabewerte
Gibt im Erfolgsfall WIN32_NO_ERROR zurück oder FALSE, wenn es ein Problem mit den Parametern gab oder einen Win32-Fehlercode im Fehlerfall.