<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.win32service.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'function.win32-create-service.php',
    1 => 'win32_create_service',
    2 => 'Creates a new service entry in the SCM database',
  ),
  'up' => 
  array (
    0 => 'ref.win32service.php',
    1 => 'win32service Funktionen',
  ),
  'prev' => 
  array (
    0 => 'function.win32-continue-service.php',
    1 => 'win32_continue_service',
  ),
  'next' => 
  array (
    0 => 'function.win32-delete-service.php',
    1 => 'win32_delete_service',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/win32service/functions/win32-create-service.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.win32-create-service" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">win32_create_service</h1>
  <p class="verinfo">(PECL win32service &gt;=0.1.0)</p><p class="refpurpose"><span class="refname">win32_create_service</span> &mdash; <span class="dc-title">Creates a new service entry in the SCM database</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.win32-create-service-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>win32_create_service</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.array.php" class="type array">array</a></span> <code class="parameter">$details</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$machine</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

  <p class="para rdfs-comment">
   Attempts to add a service into the SCM database. Administrative
   privileges are required for this to succeed.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.win32-create-service-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">details</code></dt>
     <dd>
      <p class="para">
       An array of service details:
       <dl>
        
         <dt><code class="parameter">service</code></dt>
         <dd>
          <p class="para">
           The short name of the service.  This is the name that you
           will use to control the service using the <code class="literal">net</code>
           command.  The service must be unique (no two services can share the
           same name), and, ideally, should avoid having spaces in the name.
          </p>
         </dd>
        
        
         <dt><code class="parameter">display</code></dt>
         <dd>
          <p class="para">The display name of the service.  This is the name that you
          will see in the Services Applet.
          </p>
         </dd>
        
        
         <dt><code class="parameter">description</code></dt>
         <dd>
          <p class="para">The long description of the service.  This is the description
          that you will see in the Services Applet.
          </p>
         </dd>
        
        
         <dt><code class="parameter">user</code></dt>
         <dd>
          <p class="para">
           The name of the user account under which you want the service to
           run.  If omitted, the service will run as the LocalSystem account.
           If the username is specified, you must also provide a password.
          </p>
         </dd>
        
        
         <dt><code class="parameter">password</code></dt>
         <dd>
          <p class="para">
           The password that corresponds to the <code class="parameter">user</code>.
          </p>
         </dd>
        
        
         <dt><code class="parameter">path</code></dt>
         <dd>
          <p class="para">
           The full path to the executable module that will be launched when
           the service is started.  If omitted, the path to the current PHP
           process will be used.
          </p>
         </dd>
        
        
         <dt><code class="parameter">params</code></dt>
         <dd>
          <p class="para">
           Command line parameters to pass to the service when it starts.
           If you want to run a PHP script as the service, then the first
           parameter should be the full path to the PHP script that you intend
           to run. If the script name or path contains spaces, then wrap the
           full path to the PHP script with <code class="literal">&quot;</code>.
          </p>
         </dd>
        
        
         <dt><code class="parameter">load_order</code></dt>
         <dd>
          <p class="para">
           Controls the load_order.  This is not yet fully supported.
          </p>
         </dd>
        
        
         <dt><code class="parameter">svc_type</code></dt>
         <dd>
          <p class="para">
           Sets the service type.  If omitted, the default value is
           <strong><code><a href="win32service.constants.php#constant.win32-service-win32-own-process">WIN32_SERVICE_WIN32_OWN_PROCESS</a></code></strong>.
           Don&#039;t change this unless you know what you&#039;re doing.
          </p>
         </dd>
        
        
         <dt><code class="parameter">start_type</code></dt>
         <dd>
          <p class="para">
           Specifies how the service should be started.  The default is
           <strong><code><a href="win32service.constants.php#constant.win32-service-auto-start">WIN32_SERVICE_AUTO_START</a></code></strong> which means the
           service will be launched when the machine starts up.
          </p>
         </dd>
        
        
         <dt><code class="parameter">error_control</code></dt>
         <dd>
          <p class="para">
           Informs the SCM what it should do when it detects a problem with
           the service.  The default is
           <strong><code>WIN32_SERVER_ERROR_IGNORE</code></strong>.  Changing this
           value is not yet fully supported.
          </p>
         </dd>
        
        
         <dt><code class="parameter">delayed_start</code></dt>
         <dd>
          <p class="para">
           If <code class="parameter">delayed_start</code> is set to <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>, then this
           will inform the SCM that this service should be started after other
           auto-start services are started plus a short delay.
          </p>
          <p class="para">
           Any service can be marked as a delayed auto-start service; however,
           this setting has no effect unless the service&#039;s
           <code class="parameter">start_type</code> is
           <strong><code><a href="win32service.constants.php#constant.win32-service-auto-start">WIN32_SERVICE_AUTO_START</a></code></strong>.
          </p>
          <p class="para">
           This setting is only applicable on Windows Vista and Windows Server
           2008 or greater.
          </p>
         </dd>
        
        
         <dt><code class="parameter">base_priority</code></dt>
         <dd>
          <p class="para">
           To reduce the impact on processor utilisation, it may be necessary
           to set a base priority lower than normal.
          </p>
          <p class="para">
           The <code class="parameter">base_priority</code> can be set to one of the
           constants define in
           <a href="win32service.constants.php#win32service.constants.basepriorities" class="link">Win32 Base Priority Classes</a>.
          </p>
         </dd>
        
        
         <dt><code class="parameter">dependencies</code></dt>
         <dd>
          <p class="para">
           To define the dependencies for your service, it may be necessary to set 
           this parameter to the list of the services names in an array.
          </p>
         </dd>
        
        
         <dt><code class="parameter">recovery_delay</code></dt>
         <dd>
          <p class="para">
           This parameter defines the delay between the fail and the execution 
           of recovery action. The value is in milliseconds.
          </p>
          <p class="para">
           The default value is 60000.
          </p>
         </dd>
        
        
         <dt><code class="parameter">recovery_action_1</code></dt>
         <dd>
          <p class="para">
           The action will be executed on first failure. The default value is 
           <strong><code><a href="win32service.constants.php#constant.win32-sc-action-none">WIN32_SC_ACTION_NONE</a></code></strong>.
          </p>
          <p class="para">
           The <code class="parameter">recovery_action_1</code> can be set to one of the
           constants defined in
           <a href="win32service.constants.php#win32service.constants.recovery-action" class="link">Win32 Recovery action</a>.
          </p>
         </dd>
        
        
         <dt><code class="parameter">recovery_action_2</code></dt>
         <dd>
          <p class="para">
           The action will be executed on second failure. The default value is 
           <strong><code><a href="win32service.constants.php#constant.win32-sc-action-none">WIN32_SC_ACTION_NONE</a></code></strong>.
          </p>
          <p class="para">
           The <code class="parameter">recovery_action_2</code> can be set to one of the
           constants defined in
           <a href="win32service.constants.php#win32service.constants.recovery-action" class="link">Win32 Recovery action</a>.
          </p>
         </dd>
        
        
         <dt><code class="parameter">recovery_action_3</code></dt>
         <dd>
          <p class="para">
           The action will be executed on next failures. The default value is 
           <strong><code><a href="win32service.constants.php#constant.win32-sc-action-none">WIN32_SC_ACTION_NONE</a></code></strong>.
          </p>
          <p class="para">
           The <code class="parameter">recovery_action_3</code> can be set to one of the
           constants defined in
           <a href="win32service.constants.php#win32service.constants.recovery-action" class="link">Win32 Recovery action</a>.
          </p>
         </dd>
        
        
         <dt><code class="parameter">recovery_reset_period</code></dt>
         <dd>
          <p class="para">
           The failure count will be reset after the delay defined in the parameter. The delay is expirement in seconds.
          </p>
          <p class="para">
           The default value is <code class="literal">86400</code>.
          </p>
         </dd>
        
        
         <dt><code class="parameter">recovery_enabled</code></dt>
         <dd>
          <p class="para">
           Set this parameter at <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> to enable the recovery settings, <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> 
           to disable. 
          </p>
          <p class="para">
           The default value is <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>
          </p>
         </dd>
        
        
         <dt><code class="parameter">recovery_reboot_msg</code></dt>
         <dd>
          <p class="para">
           Set this parameter to define the message saved into the Windows Event 
           Log before the reboot. Used only if one action is set to 
           <strong><code><a href="win32service.constants.php#constant.win32-sc-action-reboot">WIN32_SC_ACTION_REBOOT</a></code></strong>.
          </p>
         </dd>
        
        
         <dt><code class="parameter">recovery_command</code></dt>
         <dd>
          <p class="para">
           Set this parameter to define the command executed when one action is defined on  
           <strong><code><a href="win32service.constants.php#constant.win32-sc-action-run-command">WIN32_SC_ACTION_RUN_COMMAND</a></code></strong>.
          </p>
         </dd>
        
       </dl>
      </p>
     </dd>
    
    
     <dt><code class="parameter">machine</code></dt>
     <dd>
      <p class="para">
       The optional machine name on which you want to create a service.
       If omitted, it will use the local machine.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.win32-create-service-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Es wird kein Wert zurückgegeben.
  </p>
  <p class="para">
   Prior to version 1.0.0, wurde im Erfolgsfall <strong><code><a href="win32service.constants.php#constant.win32-no-error">WIN32_NO_ERROR</a></code></strong> zurückgegeben und <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>, wenn es ein Problem mit den Parametern gab oder einen <a href="win32service.constants.php#win32service.constants.errors" class="link">Win32-Fehlercode</a> im Fehlerfall.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-function.win32-create-service-errors">
  <h3 class="title">Fehler/Exceptions</h3>
  <p class="para">
   A <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> is thrown if the
   value of <code class="parameter">service</code> parameter is empty.
  </p>
  <p class="para">
   A <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> is thrown if the
   value of <code class="parameter">path</code> parameter is missing or empty.
  </p>
  <p class="para">
   A <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> is thrown if the
   value of <code class="parameter">svc_type</code> parameter is wrong.
  </p>
  <p class="para">
   A <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> is thrown if the
   value of <code class="parameter">start_type</code> parameter is wrong.
  </p>
  <p class="para">
   A <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> is thrown if the
   value of <code class="parameter">error_control</code> parameter is wrong.
  </p>
  <p class="para">
   A <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> is thrown if the
   value of <code class="parameter">base_priority</code> parameter  is wrong.
  </p>
  <p class="para">
   A <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> is thrown if the
   value of <code class="parameter">recovery_delay</code> parameter is not between 
   0 and PHP_INT_MAX.
  </p>
  <p class="para">
   A <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> is thrown if the
   value of <code class="parameter">recovery_action_1</code> parameter is wrong.
  </p>
  <p class="para">
   A <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> is thrown if the
   value of <code class="parameter">recovery_action_2</code> parameter is wrong.
  </p>
  <p class="para">
   A <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> is thrown if the
   value of <code class="parameter">recovery_action_3</code> parameter is wrong.
  </p>
  <p class="para">
   A <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> is thrown if the
   value of <code class="parameter">recovery_reset_period</code> parameter is not 
   between 0 and PHP_INT_MAX.
  </p>
  <p class="para">
   A <span class="classname"><a href="class.win32serviceexception.php" class="classname">Win32ServiceException</a></span> is thrown on error.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.win32-create-service-changelog">
  <h3 class="title">Changelog</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Version</th>
       <th>Beschreibung</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>PECL win32service 1.0.0</td>
       <td>
        Throws a <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> on invalid data in parameters,
        previously <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> was returned.
       </td>
      </tr>

      <tr>
       <td>PECL win32service 1.0.0</td>
       <td>
        Throws a <span class="classname"><a href="class.win32serviceexception.php" class="classname">Win32ServiceException</a></span> on error,
        previously a 
        <a href="win32service.constants.php#win32service.constants.errors" class="link">Win32 Error Code</a>
        was returned.
       </td>
      </tr>

      <tr>
       <td>PECL win32service 1.0.0</td>
       <td>
        The return type is now <span class="type"><span class="type"><a href="language.types.void.php" class="type void">void</a></span></span>, previously it was <span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span>.
       </td>
      </tr>

      <tr>
       <td>PECL win32service 0.4.0</td>
       <td>
        The <code class="parameter">dependencies</code>, <code class="parameter">recovery_delay</code>,
        <code class="parameter">recovery_action_1</code>, <code class="parameter">recovery_action_2</code>,
        <code class="parameter">recovery_action_3</code>, <code class="parameter">recovery_reset_period</code>,
        <code class="parameter">recovery_enabled</code>, <code class="parameter">recovery_reboot_msg</code>
        and <code class="parameter">recovery_command</code> parameters have been added.
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.win32-create-service-examples">
  <h3 class="title">Beispiele</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Beispiel #1 A <span class="function"><strong>win32_create_service()</strong></span> example</strong></p>
    <div class="example-contents"><p>
     Create a service with the short name &#039;dummyphp&#039;.
    </p></div>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$x </span><span style="color: #007700">= </span><span style="color: #0000BB">win32_create_service</span><span style="color: #007700">(array(<br />    </span><span style="color: #DD0000">'service'     </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'dummyphp'</span><span style="color: #007700">,                                           </span><span style="color: #FF8000">// the name of your service<br />    </span><span style="color: #DD0000">'display'     </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'sample dummy PHP service'</span><span style="color: #007700">,                           </span><span style="color: #FF8000">// short description<br />    </span><span style="color: #DD0000">'description' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'This is a dummy Windows service created using PHP.'</span><span style="color: #007700">, </span><span style="color: #FF8000">// long description<br />    </span><span style="color: #DD0000">'params'      </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'"' </span><span style="color: #007700">. </span><span style="color: #0000BB">__FILE__ </span><span style="color: #007700">. </span><span style="color: #DD0000">'"  run'</span><span style="color: #007700">,                            </span><span style="color: #FF8000">// path to the script and parameters<br /></span><span style="color: #007700">));<br /></span><span style="color: #0000BB">debug_zval_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$x</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
     </div>

   </div>
  </p>
  <p class="para">
   <div class="example" id="example-2">
    <p><strong>Beispiel #2 A <span class="function"><strong>win32_create_service()</strong></span> example with dependencies</strong></p>
    <div class="example-contents"><p>
     Create a service with the short name &#039;dummyphp&#039; and dependencies.
    </p></div>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$x </span><span style="color: #007700">= </span><span style="color: #0000BB">win32_create_service</span><span style="color: #007700">(array(<br />    </span><span style="color: #DD0000">'service'      </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'dummyphp'</span><span style="color: #007700">,                                           </span><span style="color: #FF8000">// the name of your service<br />    </span><span style="color: #DD0000">'display'      </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'sample dummy PHP service'</span><span style="color: #007700">,                           </span><span style="color: #FF8000">// short description<br />    </span><span style="color: #DD0000">'description'  </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'This is a dummy Windows service created using PHP.'</span><span style="color: #007700">, </span><span style="color: #FF8000">// long description<br />    </span><span style="color: #DD0000">'params'       </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'"' </span><span style="color: #007700">. </span><span style="color: #0000BB">__FILE__ </span><span style="color: #007700">. </span><span style="color: #DD0000">'"  run'</span><span style="color: #007700">,                            </span><span style="color: #FF8000">// path to the script and parameters<br />    </span><span style="color: #DD0000">'dependencies' </span><span style="color: #007700">=&gt; array(</span><span style="color: #DD0000">"Netman"</span><span style="color: #007700">),                                      </span><span style="color: #FF8000">// The list of the dependencies <br /></span><span style="color: #007700">));<br /></span><span style="color: #0000BB">debug_zval_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$x</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
     </div>

   </div>
  </p>
  <p class="para">
   <div class="example" id="example-3">
    <p><strong>Beispiel #3 A <span class="function"><strong>win32_create_service()</strong></span> example with recovery</strong></p>
    <div class="example-contents"><p>
     Create a service with the short name &#039;dummyphp&#039; and recovery settings.
    </p></div>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$x </span><span style="color: #007700">= </span><span style="color: #0000BB">win32_create_service</span><span style="color: #007700">(array(<br />    </span><span style="color: #DD0000">'service'               </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'dummyphp'</span><span style="color: #007700">,                                           </span><span style="color: #FF8000">// the name of your service<br />    </span><span style="color: #DD0000">'display'               </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'sample dummy PHP service'</span><span style="color: #007700">,                           </span><span style="color: #FF8000">// short description<br />    </span><span style="color: #DD0000">'description'           </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'This is a dummy Windows service created using PHP.'</span><span style="color: #007700">, </span><span style="color: #FF8000">// long description<br />    </span><span style="color: #DD0000">'params'                </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'"' </span><span style="color: #007700">. </span><span style="color: #0000BB">__FILE__ </span><span style="color: #007700">. </span><span style="color: #DD0000">'"  run'</span><span style="color: #007700">,                            </span><span style="color: #FF8000">// path to the script and parameters<br />    </span><span style="color: #DD0000">'recovery_delay'        </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">120000</span><span style="color: #007700">,                                               </span><span style="color: #FF8000">// Recovery action is executed after 2 minutes<br />    </span><span style="color: #DD0000">'recovery_action_1'     </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">WIN32_SC_ACTION_RESTART</span><span style="color: #007700">,                              </span><span style="color: #FF8000">// On first failure, restart the service<br />    </span><span style="color: #DD0000">'recovery_action_2'     </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">WIN32_SC_ACTION_RUN_COMMAND</span><span style="color: #007700">,                          </span><span style="color: #FF8000">// On second failure, execute the commmand<br />    </span><span style="color: #DD0000">'recovery_action_3'     </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">WIN32_SC_ACTION_NONE</span><span style="color: #007700">,                                 </span><span style="color: #FF8000">// On other failure, do nothing<br />    </span><span style="color: #DD0000">'recovery_reset_period' </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">86400</span><span style="color: #007700">,                                                </span><span style="color: #FF8000">// Reset the fail counter after 1 day<br />    </span><span style="color: #DD0000">'recovery_enabled'      </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">true</span><span style="color: #007700">,                                                 </span><span style="color: #FF8000">// Enable the recovery parameter<br />    </span><span style="color: #DD0000">'recovery_reboot_msg'   </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">null</span><span style="color: #007700">,                                                 </span><span style="color: #FF8000">// Do not define a reboot message, it's not needed here<br />    </span><span style="color: #DD0000">'recovery_command'      </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">"c:\clean-service.bat"</span><span style="color: #007700">,                               </span><span style="color: #FF8000">// When the action is WIN32_SC_ACTION_RUN_COMMAND, execute this command<br /></span><span style="color: #007700">));<br /></span><span style="color: #0000BB">debug_zval_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$x</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
     </div>

   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.win32-create-service-seealso">
  <h3 class="title">Siehe auch</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.win32-delete-service.php" class="function" rel="rdfs-seeAlso">win32_delete_service()</a> - Deletes a service entry from the SCM database</span></li>
    <li><a href="win32service.constants.php#win32service.constants.basepriorities" class="link">Win32 Base Priority Classes</a></li>
    <li><a href="win32service.constants.php#win32service.constants.recovery-action" class="link">Win32 Recovery action</a></li>
    <li><a href="win32service.constants.php#win32service.constants.errors" class="link">Win32 Error Codes</a></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>