PHP » GoLang |
login |
register |
about
|
GoLang win32_start_service_ctrl_dispatcher
request it (386)
GoLang replacement for PHP's win32_start_service_ctrl_dispatcher
[edit | history]
PHP win32_start_service_ctrl_dispatcherPHP original manual for win32_start_service_ctrl_dispatcher [ show | php.net ]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 DescriptionWhen 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
Caution
Since version 0.2.0, this function work only in "cli" SAPI. On other SAPI this function is disabled. Return Values
Returns Examples
Example #1 A win32_start_service_ctrl_dispatcher() example Check if the service is runnig under the SCM.
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|