win32_stop_service

(PECL win32service SVN)

win32_stop_serviceStops a service

說明

int win32_stop_service ( string $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 錯誤碼

參見

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top