(PECL win32service SVN)
win32_stop_service — Stops a service
$servicename
[, string $machine
] )Stops a named service. Requires administrative privileges.
servicename
The short name of the service.
machine
Optional machine name. If omitted, the local machine is used.
成功時回傳 WIN32_NO_ERROR
參數錯誤時回傳 FALSE
,或失敗時回傳一個 Win32 錯誤碼。