php man page for win32_get_last_control_message

Query: win32_get_last_control_message

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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 service

SYNOPSIS
int win32_get_last_control_message (void )
DESCRIPTION
Returns 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 VALUES
Returns 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 ALSO
win32_start_service_ctrl_dispatcher(3), Win32Service Service Control Message Constants. PHP Documentation Group WIN32_GET_LAST_CONTROL_MESSAGE(3)
Related Man Pages
xenstored(1m) - opensolaris
inets(3erl) - linux
xrctl(1) - debian
runsv(8) - debian
win32_query_service_status(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
User Guide: Posting in the Emergency Forum
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
New Code Tags (Syntax Highlighting)
Please Welcome Ravinder Singh to the Moderation Team