(PECL win32service SVN)
win32_stop_service — Stops a service
$servicename
[, string $machine
] )Stops a named service. Requires administrative privileges.
servicenameThe short name of the service.
machineOptional machine name. If omitted, the local machine is used.
Retorna WIN32_NO_ERROR no sucesso , FALSE se ocorrer um problema com os parâmetros ou um Win32 Error Code em caso de falhas.