win32_query_service_status()
win32_query_service_status - Queries the status of a service
Syntax
mixed win32_query_service_status (
string $servicename,
string $machine)
Arguments
- servicename - The short name of the service.
- machine - The optional machine name. If omitted, the local machine will be used.
Description
Queries the current status for a service, returning an array of information.
Version
PHP PECL win32service SVN
Return value
Returns FALSE on failure, otherwise returns an array consisting of the following information: