WIN32_STOP_SERVICE(3) 1 WIN32_STOP_SERVICE(3)
win32_stop_service - Stops a service
SYNOPSIS
int win32_stop_service (string $servicename, [string $machine])
DESCRIPTION
Stops a named service. Requires administrative privileges.
PARAMETERS
o $servicename
- The short name of the service.
o $machine
- Optional machine name. If omitted, the local machine is used.
RETURN VALUES
Returns WIN32_NO_ERROR on success, FALSE if there is a problem with the parameters or a Win32 Error Code on failure.
SEE ALSO
win32_start_service(3), Win32 Error Codes.
PHP Documentation Group WIN32_STOP_SERVICE(3)