win32_start_service_ctrl_dispatcher()
win32_start_service_ctrl_dispatcher - Registers the script with the SCM, so that it can act as the service with the given name
Syntax
mixed win32_start_service_ctrl_dispatcher (
string $name)
Arguments
- name - The short-name of the service, as registered by win32_create_service().
Description
When launched via the Service Control Manager, a service process is required to "check-in" with it to establish service monitoring and communication facilities. This function performs the check-in by spawning a thread to handle the lower-level communication with the service control manager.
Version
PHP PECL win32service SVN
Return value
Returns TRUE on success, otherwise FALSE or a win32 error code.