|
win32_start_service_ctrl_dispatcherRegisters the script with the SCM, so that it can act as the service with the given name Description
mixed win32_start_service_ctrl_dispatcher
( string
$name
)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.
Once started, the service process should do 2 things. The first is to tell
the Service Control Manager that the service is running. This is achieved
by calling win32_set_service_status with the
Parameters
Return Values
Returns Examples
Example #1 A win32_start_service_ctrl_dispatcher example Check if the service is runnig under the SCM.
<?php |