update : 2015.11.03
php.shukuma.com검색:
|
win32_start_service_ctrl_dispatcher(PECL win32service SVN) win32_start_service_ctrl_dispatcher — Registers the script with the SCM, so that it can act as the service with the given 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
반환값
Returns 예제
Example #1 A win32_start_service_ctrl_dispatcher() example Check if the service is runnig under the SCM.
<?php 참고
|