<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Win32Service Service Control Message Accepted Bitmasks</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="win32service.constants.servicecontrol.html">Win32Service Service Control Message Constants</a></div> <div class="next" style="text-align: right; float: right;"><a href="win32service.constants.servicestarttype.html">Win32Service Service Start Type Constants</a></div> <div class="up"><a href="win32service.constants.html">Predefined Constants</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="win32service.constants.controlsaccepted" class="section"> <table class="doctable table"> <caption><strong>Win32Service Service Control Message Accepted Bitmasks</strong></caption> <thead> <tr> <th>Constant</th> <th>Value</th> <th>Description</th> </tr> </thead> <tbody class="tbody"> <tr id="constant.win32-service-accept-pause-continue"> <td><strong><code>WIN32_SERVICE_ACCEPT_PAUSE_CONTINUE</code></strong></td> <td>0x00000002</td> <td> The service can be paused and continued. This control code allows the service to receive <strong><code>WIN32_SERVICE_CONTROL_PAUSE</code></strong> and <strong><code>WIN32_SERVICE_CONTROL_CONTINUE</code></strong> notifications. </td> </tr> <tr id="constant.win32-service-accept-preshutdown"> <td><strong><code>WIN32_SERVICE_ACCEPT_PRESHUTDOWN</code></strong></td> <td>0x00000100</td> <td> The service can perform preshutdown tasks. This control code enables the service to receive <strong><code>WIN32_SERVICE_CONTROL_PRESHUTDOWN</code></strong> notifications. This value is not supported by Windows Server 2003 and Windows XP/2000. </td> </tr> <tr id="constant.win32-service-accept-shutdown"> <td><strong><code>WIN32_SERVICE_ACCEPT_SHUTDOWN</code></strong></td> <td>0x00000004</td> <td> The service is notified when system shutdown occurs. This control code allows the service to receive <strong><code>WIN32_SERVICE_CONTROL_SHUTDOWN</code></strong> notifications. </td> </tr> <tr id="constant.win32-service-accept-stop"> <td><strong><code>WIN32_SERVICE_ACCEPT_STOP</code></strong></td> <td>0x00000001</td> <td> The service can be stopped. This control code allows the service to receive <strong><code>WIN32_SERVICE_CONTROL_STOP</code></strong> notifications. </td> </tr> </tbody> </table> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="win32service.constants.servicecontrol.html">Win32Service Service Control Message Constants</a></div> <div class="next" style="text-align: right; float: right;"><a href="win32service.constants.servicestarttype.html">Win32Service Service Start Type Constants</a></div> <div class="up"><a href="win32service.constants.html">Predefined Constants</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>