Man Page: win32_get_last_control_message
Operating Environment: php
Section: 3
WIN32_GET_LAST_CONTROL_MESSAGE(3) 1 WIN32_GET_LAST_CONTROL_MESSAGE(3) win32_get_last_control_message - Returns the last control message that was sent to this serviceSYNOPSISint win32_get_last_control_message (void )DESCRIPTIONReturns the control code that was last sent to this service process. When running as a service you should periodically check this to determine if your service needs to stop running.RETURN VALUESReturns a control constant which will be one of the Win32Service Service Control Message Constants: WIN32_SERVICE_CONTROL_CONTINUE, WIN32_SERVICE_CONTROL_INTERROGATE, WIN32_SERVICE_CONTROL_PAUSE, WIN32_SERVICE_CONTROL_PRESHUTDOWN, WIN32_SERVICE_CONTROL_SHUTDOWN, WIN32_SERVICE_CONTROL_STOP.SEE ALSOwin32_start_service_ctrl_dispatcher(3), Win32Service Service Control Message Constants. PHP Documentation Group WIN32_GET_LAST_CONTROL_MESSAGE(3)
| Related Man Pages |
|---|
| runsv(8) - debian |
| defined(3) - php |
| win32_start_service_ctrl_dispatcher(3) - php |
| munin::node::service(3pm) - debian |
| net::dbus::service(3pm) - debian |