<!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 Start Type Constants</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="win32service.constants.controlsaccepted.html">Win32Service Service Control Message Accepted Bitmasks</a></div> <div class="next" style="text-align: right; float: right;"><a href="win32service.constants.errorcontrol.html">Win32Service Service Error Control 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.servicestarttype" class="section"> <table class="doctable table"> <caption><strong>Win32Service Service Start Type Constants</strong></caption> <thead> <tr> <th>Constant</th> <th>Value</th> <th>Description</th> </tr> </thead> <tbody class="tbody"> <tr id="constant.win32-service-auto-start"> <td><strong><code>WIN32_SERVICE_AUTO_START</code></strong></td> <td>0x00000002</td> <td> A service started automatically by the service control manager during system startup. </td> </tr> <tr id="constant.win32-service-demand-start"> <td><strong><code>WIN32_SERVICE_DEMAND_START</code></strong></td> <td>0x00000003</td> <td> A service started by the service control manager when a process calls the StartService function. </td> </tr> <tr id="constant.win32-service-disabled"> <td><strong><code>WIN32_SERVICE_DISABLED</code></strong></td> <td>0x00000004</td> <td> A service that cannot be started. Attempts to start the service result in the error code <strong><code>WIN32_ERROR_SERVICE_DISABLED</code></strong>. </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.controlsaccepted.html">Win32Service Service Control Message Accepted Bitmasks</a></div> <div class="next" style="text-align: right; float: right;"><a href="win32service.constants.errorcontrol.html">Win32Service Service Error Control 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>