svn: /phpdoc/fr/trunk/reference/win32service/functions/ win32-pause-service.xml win32-query-service-status.xml win32-send-custom-control.xml win32-set-service-exit-code.xml win32-set-service-exit-mode.xml win32-set-service-status.xml win32-start-service-ctrl-dispatcher.xml win32-start-service.xml win32-stop-service.xml

[email protected] (Jean-Baptiste Nahan)
Newsgroups php.doc.fr
Message-ID <[email protected]>
jbnahan                                  Wed, 02 Dec 2020 19:35:30 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=351846

Log:
Sync with EN

Changed paths:
    U   phpdoc/fr/trunk/reference/win32service/functions/win32-pause-service.xml
    U   phpdoc/fr/trunk/reference/win32service/functions/win32-query-service-status.xml
    U   phpdoc/fr/trunk/reference/win32service/functions/win32-send-custom-control.xml
    U   phpdoc/fr/trunk/reference/win32service/functions/win32-set-service-exit-code.xml
    U   phpdoc/fr/trunk/reference/win32service/functions/win32-set-service-exit-mode.xml
    U   phpdoc/fr/trunk/reference/win32service/functions/win32-set-service-status.xml
    U   phpdoc/fr/trunk/reference/win32service/functions/win32-start-service-ctrl-dispatcher.xml
    U   phpdoc/fr/trunk/reference/win32service/functions/win32-start-service.xml
    U   phpdoc/fr/trunk/reference/win32service/functions/win32-stop-service.xml
svn-diffs-351846.txt (text/x-diff, 25.1 KB)
Modified: phpdoc/fr/trunk/reference/win32service/functions/win32-pause-service.xml
===================================================================
--- phpdoc/fr/trunk/reference/win32service/functions/win32-pause-service.xml	2020-12-02 09:49:09 UTC (rev 351845)
+++ phpdoc/fr/trunk/reference/win32service/functions/win32-pause-service.xml	2020-12-02 19:35:30 UTC (rev 351846)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 350988 Maintainer: jbnahan Status: ready -->
+<!-- EN-Revision: 351746 Maintainer: jbnahan Status: ready -->
 <!-- Reviewed: no -->

 <refentry xml:id="function.win32-pause-service" xmlns="http://docbook.org/ns/docbook">
@@ -11,7 +11,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>int</type><methodname>win32_pause_service</methodname>
+   <type>void</type><methodname>win32_pause_service</methodname>
    <methodparam><type>string</type><parameter>servicename</parameter></methodparam>
    <methodparam choice="opt"><type>string</type><parameter>machine</parameter></methodparam>
   </methodsynopsis>
@@ -48,10 +48,25 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   &win32service.noerror.false.error;
+   &return.void;
   </para>
+  <para>
+    Avant la version 1.0.0, &win32service.noerror.false.error;
+  </para>
  </refsect1>

+ <refsect1 role="errors"><!-- {{{ -->
+  &reftitle.errors;
+  <para>
+    Une <classname>ValueError</classname> est levée si la valeur du paramètre
+    <parameter>servicename</parameter> est vide.
+  </para>
+
+   <para>
+    Une <classname>Win32ServiceException</classname> est levée en cas d'erreur.
+   </para>
+ </refsect1><!-- }}} -->
+
  <refsect1 role="changelog"><!-- {{{ -->
   &reftitle.changelog;
   <para>
@@ -63,10 +78,31 @@
        <entry>&Description;</entry>
       </row>
      </thead>
-     <tbody>
+     <tbody>      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Lance une <classname>ValueError</classname> si un paramètre est invalide,
+        avant &false; était retourné.
+       </entry>
+      </row>
       <row>
-       <entry>PECL win32service .3.0</entry>
+       <entry>PECL win32service 1.0.0</entry>
        <entry>
+        Lance une <classname>Win32ServiceException</classname> en cas d'erreur,
+        avant un
+        <link xmlns="http://docbook.org/ns/docbook" linkend="win32service.constants.errors">Code d'erreur Win32</link>
+        était retourné.
+       </entry>
+      </row>
+      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Le type de retour est maintenant <type>void</type>, avant il était <type>mixed</type>.
+       </entry>
+      </row>
+      <row>
+       <entry>PECL win32service 0.3.0</entry>
+       <entry>
         Cette fonction ne requiert plus de compte d'administrateur si l'ACL
         est défini pour un autre compte.
        </entry>

Modified: phpdoc/fr/trunk/reference/win32service/functions/win32-query-service-status.xml
===================================================================
--- phpdoc/fr/trunk/reference/win32service/functions/win32-query-service-status.xml	2020-12-02 09:49:09 UTC (rev 351845)
+++ phpdoc/fr/trunk/reference/win32service/functions/win32-query-service-status.xml	2020-12-02 19:35:30 UTC (rev 351846)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 346866 Maintainer: jbnahan Status: ready -->
+<!-- EN-Revision: 351746 Maintainer: jbnahan Status: ready -->
 <!-- Reviewed: no -->

 <refentry xml:id="function.win32-query-service-status" xmlns="http://docbook.org/ns/docbook">
@@ -11,7 +11,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>mixed</type><methodname>win32_query_service_status</methodname>
+   <type>array</type><methodname>win32_query_service_status</methodname>
    <methodparam><type>string</type><parameter>servicename</parameter></methodparam>
    <methodparam choice="opt"><type>string</type><parameter>machine</parameter></methodparam>
   </methodsynopsis>
@@ -50,9 +50,12 @@
   &reftitle.returnvalues;
   <para>
    Retourne un tableau contenant les informations suivantes en
-   cas de succès, &win32service.false.error;
+   cas de succès.
   </para>
   <para>
+    Avant la version 1.0.0&win32service.false.error;
+  </para>
+  <para>
    <variablelist>
     <varlistentry>
      <term><parameter>ServiceType</parameter></term>
@@ -150,7 +153,55 @@
    </variablelist>
   </para>
  </refsect1>
-
+
+ <refsect1 role="errors"><!-- {{{ -->
+  &reftitle.errors;
+  <para>
+    Une <classname>ValueError</classname> est levée si la valeur du paramètre
+    <parameter>servicename</parameter> est vide.
+  </para>
+ </refsect1><!-- }}} -->
+
+ <refsect1 role="changelog"><!-- {{{ -->
+  &reftitle.changelog;
+  <para>
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>
+      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Lance une <classname>ValueError</classname> si un paramètre est invalide,
+        avant &false; était retourné.
+       </entry>
+      </row>
+      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Lance une <classname>Win32ServiceException</classname> en cas d'erreur,
+        avant un
+        <link xmlns="http://docbook.org/ns/docbook" linkend="win32service.constants.errors">Code d'erreur Win32</link>
+        était retourné.
+       </entry>
+      </row>
+      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Le type de retour est maintenant <type>array</type>, avant il était <type>mixed</type>.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1><!-- }}} -->
+
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>
@@ -159,7 +210,6 @@
    </simplelist>
   </para>
  </refsect1>
-
 </refentry>

 <!-- Keep this comment at the end of the file

Modified: phpdoc/fr/trunk/reference/win32service/functions/win32-send-custom-control.xml
===================================================================
--- phpdoc/fr/trunk/reference/win32service/functions/win32-send-custom-control.xml	2020-12-02 09:49:09 UTC (rev 351845)
+++ phpdoc/fr/trunk/reference/win32service/functions/win32-send-custom-control.xml	2020-12-02 19:35:30 UTC (rev 351846)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 346737 Maintainer: jbnahan Status: ready -->
+<!-- EN-Revision: 351746 Maintainer: jbnahan Status: ready -->
 <!-- Reviewed: no -->

 <refentry xml:id="function.win32-send-custom-control" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -12,7 +12,7 @@
  <refsect1 role="description"><!-- {{{ -->
   &reftitle.description;
   <methodsynopsis role="procedural">
-   <type>int</type><methodname>win32_send_custom_control</methodname>
+   <type>void</type><methodname>win32_send_custom_control</methodname>
    <methodparam><type>string</type><parameter>servicename</parameter></methodparam>
    <methodparam><type>int</type><parameter>control</parameter></methodparam>
    <methodparam choice="opt"><type>string</type><parameter>machine</parameter></methodparam>
@@ -57,18 +57,73 @@
  <refsect1 role="returnvalues"><!-- {{{ -->
   &reftitle.returnvalues;
   <para>
-   &win32service.noerror.false.error;
+   &return.void;
   </para>
+  <para>
+    Avant la version 1.0.0, &win32service.noerror.false.error;
+  </para>
  </refsect1><!-- }}} -->

  <refsect1 role="errors"><!-- {{{ -->
   &reftitle.errors;
   <para>
-   Si la valeur de contrôle n'est pas compris entre 128 et 255, cette fonction émet
+   Avant la version 1.0.0, si la valeur de contrôle n'est pas compris entre 128 et 255, cette fonction émet
    une erreur de niveau <constant>E_ERROR</constant>.
   </para>
+
+  <para>
+    Une <classname>ValueError</classname> est levée si la valeur du paramètre
+    <parameter>servicename</parameter> est vide.
+  </para>
+  <para>
+    Une <classname>ValueError</classname> est levé si la valeur du paramètre
+   <parameter>control</parameter> n'est pas entre 128 et 255.
+  </para>
+   <para>
+    Une <classname>Win32ServiceException</classname> est levée en cas d'erreur.
+   </para>
+
  </refsect1><!-- }}} -->

+ <refsect1 role="changelog"><!-- {{{ -->
+  &reftitle.changelog;
+  <para>
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Lance une <classname>ValueError</classname> si un paramètre est invalide,
+        avant &false; était retourné.
+       </entry>
+      </row>
+      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Lance une <classname>Win32ServiceException</classname> en cas d'erreur,
+        avant un
+        <link xmlns="http://docbook.org/ns/docbook" linkend="win32service.constants.errors">Code d'erreur Win32</link>
+        était retourné.
+       </entry>
+      </row>
+      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Le type de retour est maintenant <type>void</type>, avant il était <type>mixed</type>.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1><!-- }}} -->
+
  <refsect1 role="seealso"><!-- {{{ -->
   &reftitle.seealso;
   <simplelist>

Modified: phpdoc/fr/trunk/reference/win32service/functions/win32-set-service-exit-code.xml
===================================================================
--- phpdoc/fr/trunk/reference/win32service/functions/win32-set-service-exit-code.xml	2020-12-02 09:49:09 UTC (rev 351845)
+++ phpdoc/fr/trunk/reference/win32service/functions/win32-set-service-exit-code.xml	2020-12-02 19:35:30 UTC (rev 351846)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 346737 Maintainer: jbnahan Status: ready -->
+<!-- EN-Revision: 351746 Maintainer: jbnahan Status: ready -->
 <!-- Reviewed: no -->

 <refentry xml:id="function.win32-set-service-exit-code" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -54,12 +54,51 @@

  <refsect1 role="errors"><!-- {{{ -->
   &reftitle.errors;
-  <para>
-   Si cette fonction est utilisé en dehors du SAPI <literal>"cli"</literal>, une
+   <para>
+   Avant la version 1.0.0, si cette fonction est utilisé en dehors du SAPI <literal>"cli"</literal>, une
    erreur <constant>E_ERROR</constant> sera émise.
   </para>
+  <para>
+   À partir de la version 1.0.0, lancera une
+   <classname>Win32ServiceException</classname> si le SAPI n'est pas
+   <literal>"cli"</literal>
+  </para>
  </refsect1><!-- }}} -->

+ <refsect1 role="changelog"><!-- {{{ -->
+  &reftitle.changelog;
+  <para>
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>
+      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Lance une <classname>ValueError</classname> si un paramètre est invalide,
+        avant &false; était retourné.
+       </entry>
+      </row>
+      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Lance une <classname>Win32ServiceException</classname> en cas d'erreur,
+        avant un
+        <link xmlns="http://docbook.org/ns/docbook" linkend="win32service.constants.errors">Code d'erreur Win32</link>
+        était retourné.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1><!-- }}} -->
+
  <refsect1 role="seealso"><!-- {{{ -->
   &reftitle.seealso;
   <simplelist>

Modified: phpdoc/fr/trunk/reference/win32service/functions/win32-set-service-exit-mode.xml
===================================================================
--- phpdoc/fr/trunk/reference/win32service/functions/win32-set-service-exit-mode.xml	2020-12-02 09:49:09 UTC (rev 351845)
+++ phpdoc/fr/trunk/reference/win32service/functions/win32-set-service-exit-mode.xml	2020-12-02 19:35:30 UTC (rev 351846)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 346737 Maintainer: jbnahan Status: ready -->
+<!-- EN-Revision: 351746 Maintainer: jbnahan Status: ready -->
 <!-- Reviewed: no -->

 <refentry xml:id="function.win32-set-service-exit-mode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -54,11 +54,50 @@
  <refsect1 role="errors"><!-- {{{ -->
   &reftitle.errors;
   <para>
-   Si cette fonction est utilisé en dehors du SAPI <literal>"cli"</literal>, une
+   Avant la version 1.0.0, si cette fonction est utilisé en dehors du SAPI <literal>"cli"</literal>, une
    erreur <constant>E_ERROR</constant> sera émise.
   </para>
+  <para>
+   À partir de la version 1.0.0, lancera une
+   <classname>Win32ServiceException</classname> si le SAPI n'est pas
+   <literal>"cli"</literal>
+  </para>
  </refsect1><!-- }}} -->

+ <refsect1 role="changelog"><!-- {{{ -->
+  &reftitle.changelog;
+  <para>
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>
+      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Lance une <classname>ValueError</classname> si un paramètre est invalide,
+        avant &false; était retourné.
+       </entry>
+      </row>
+      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Lance une <classname>Win32ServiceException</classname> en cas d'erreur,
+        avant un
+        <link xmlns="http://docbook.org/ns/docbook" linkend="win32service.constants.errors">Code d'erreur Win32</link>
+        était retourné.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1><!-- }}} -->
+
  <refsect1 role="seealso"><!-- {{{ -->
   &reftitle.seealso;
   <simplelist>

Modified: phpdoc/fr/trunk/reference/win32service/functions/win32-set-service-status.xml
===================================================================
--- phpdoc/fr/trunk/reference/win32service/functions/win32-set-service-status.xml	2020-12-02 09:49:09 UTC (rev 351845)
+++ phpdoc/fr/trunk/reference/win32service/functions/win32-set-service-status.xml	2020-12-02 19:35:30 UTC (rev 351846)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 350988 Maintainer: jbnahan Status: ready -->
+<!-- EN-Revision: 351746 Maintainer: jbnahan Status: ready -->
 <!-- Reviewed: no -->

 <refentry xml:id="function.win32-set-service-status" xmlns="http://docbook.org/ns/docbook">
@@ -12,7 +12,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>bool</type><methodname>win32_set_service_status</methodname>
+   <type>void</type><methodname>win32_set_service_status</methodname>
    <methodparam><type>int</type><parameter>status</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>checkpoint</parameter><initializer>0</initializer></methodparam>
   </methodsynopsis>
@@ -75,16 +75,24 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   &win32service.success.false.error;
+    &return.void;
   </para>
+  <para>
+    Avant la version 1.0.0, &win32service.noerror.false.error;
+  </para>
  </refsect1>

  <refsect1 role="errors"><!-- {{{ -->
   &reftitle.errors;
-  <para>
-   Si cette fonction est utilisé en dehors du SAPI <literal>"cli"</literal>, une
+    <para>
+   Avant la version 1.0.0, si cette fonction est utilisé en dehors du SAPI <literal>"cli"</literal>, une
    erreur <constant>E_ERROR</constant> sera émise.
   </para>
+  <para>
+   À partir de la version 1.0.0, lancera une
+   <classname>Win32ServiceException</classname> si le SAPI n'est pas
+   <literal>"cli"</literal>
+  </para>
  </refsect1><!-- }}} -->

  <refsect1 role="changelog"><!-- {{{ -->
@@ -100,6 +108,28 @@
      </thead>
      <tbody>
       <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Lance une <classname>ValueError</classname> si un paramètre est invalide,
+        avant &false; était retourné.
+       </entry>
+      </row>
+      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Lance une <classname>Win32ServiceException</classname> en cas d'erreur,
+        avant un
+        <link xmlns="http://docbook.org/ns/docbook" linkend="win32service.constants.errors">Code d'erreur Win32</link>
+        était retourné.
+       </entry>
+      </row>
+      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Le type de retour est maintenant <type>void</type>, avant il était <type>mixed</type>.
+       </entry>
+      </row>
+      <row>
        <entry>PECL win32service 0.2.0</entry>
        <entry>
         Cette fonction fonctionne uniquement en ligne de

Modified: phpdoc/fr/trunk/reference/win32service/functions/win32-start-service-ctrl-dispatcher.xml
===================================================================
--- phpdoc/fr/trunk/reference/win32service/functions/win32-start-service-ctrl-dispatcher.xml	2020-12-02 09:49:09 UTC (rev 351845)
+++ phpdoc/fr/trunk/reference/win32service/functions/win32-start-service-ctrl-dispatcher.xml	2020-12-02 19:35:30 UTC (rev 351846)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 350988 Maintainer: jbnahan Status: ready -->
+<!-- EN-Revision: 351746 Maintainer: jbnahan Status: ready -->
 <!-- Reviewed: no -->

 <refentry xml:id="function.win32-start-service-ctrl-dispatcher" xmlns="http://docbook.org/ns/docbook">
@@ -12,7 +12,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>mixed</type><methodname>win32_start_service_ctrl_dispatcher</methodname>
+   <type>void</type><methodname>win32_start_service_ctrl_dispatcher</methodname>
    <methodparam><type>string</type><parameter>name</parameter></methodparam>
    <methodparam choice="opt"><type>bool</type><parameter>gracefulMode</parameter><initializer>true</initializer></methodparam>
   </methodsynopsis>
@@ -74,16 +74,24 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   &win32service.success.false.error;
+   &return.void;
   </para>
+  <para>
+    Avant la version 1.0.0, &win32service.noerror.false.error;
+  </para>
  </refsect1>

  <refsect1 role="errors"><!-- {{{ -->
   &reftitle.errors;
   <para>
-   Si cette fonction est utilisé en dehors du SAPI <literal>"cli"</literal>, une
+   Avant la version 1.0.0, si cette fonction est utilisé en dehors du SAPI <literal>"cli"</literal>, une
    erreur <constant>E_ERROR</constant> sera émise.
   </para>
+  <para>
+   À partir de la version 1.0.0, lancera une
+   <classname>Win32ServiceException</classname> si le SAPI n'est pas
+   <literal>"cli"</literal>
+  </para>
  </refsect1><!-- }}} -->

  <refsect1 role="examples">
@@ -132,6 +140,28 @@
      </thead>
      <tbody>
       <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Lance une <classname>ValueError</classname> si un paramètre est invalide,
+        avant &false; était retourné.
+       </entry>
+      </row>
+      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Lance une <classname>Win32ServiceException</classname> en cas d'erreur,
+        avant un
+        <link xmlns="http://docbook.org/ns/docbook" linkend="win32service.constants.errors">Code d'erreur Win32</link>
+        était retourné.
+       </entry>
+      </row>
+      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Le type de retour est maintenant <type>void</type>, avant il était <type>mixed</type>.
+       </entry>
+      </row>
+      <row>
        <entry>PECL win32service 0.4.0</entry>
        <entry>
         Le paramètre <parameter>gracefulMode</parameter> a été ajouté.

Modified: phpdoc/fr/trunk/reference/win32service/functions/win32-start-service.xml
===================================================================
--- phpdoc/fr/trunk/reference/win32service/functions/win32-start-service.xml	2020-12-02 09:49:09 UTC (rev 351845)
+++ phpdoc/fr/trunk/reference/win32service/functions/win32-start-service.xml	2020-12-02 19:35:30 UTC (rev 351846)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 350988 Maintainer: jbnahan Status: ready -->
+<!-- EN-Revision: 351746 Maintainer: jbnahan Status: ready -->
 <!-- Reviewed: no -->

 <refentry xml:id="function.win32-start-service" xmlns="http://docbook.org/ns/docbook">
@@ -12,7 +12,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>int</type><methodname>win32_start_service</methodname>
+   <type>void</type><methodname>win32_start_service</methodname>
    <methodparam><type>string</type><parameter>servicename</parameter></methodparam>
    <methodparam choice="opt"><type>string</type><parameter>machine</parameter></methodparam>
   </methodsynopsis>
@@ -50,10 +50,25 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   &win32service.noerror.false.error;
+   &return.void;
   </para>
+  <para>
+    Avant la version 1.0.0, &win32service.noerror.false.error;
+  </para>
  </refsect1>

+ <refsect1 role="errors"><!-- {{{ -->
+  &reftitle.errors;
+  <para>
+    Une <classname>ValueError</classname> est levée si la valeur du paramètre
+    <parameter>servicename</parameter> est vide.
+  </para>
+
+   <para>
+    Une <classname>Win32ServiceException</classname> est levée en cas d'erreur.
+   </para>
+ </refsect1><!-- }}} -->
+
  <refsect1 role="changelog"><!-- {{{ -->
   &reftitle.changelog;
   <para>
@@ -67,6 +82,28 @@
      </thead>
      <tbody>
       <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Lance une <classname>ValueError</classname> si un paramètre est invalide,
+        avant &false; était retourné.
+       </entry>
+      </row>
+      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Lance une <classname>Win32ServiceException</classname> en cas d'erreur,
+        avant un
+        <link xmlns="http://docbook.org/ns/docbook" linkend="win32service.constants.errors">Code d'erreur Win32</link>
+        était retourné.
+       </entry>
+      </row>
+      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Le type de retour est maintenant <type>void</type>, avant il était <type>mixed</type>.
+       </entry>
+      </row>
+      <row>
        <entry>PECL win32service 0.3.0</entry>
        <entry>
         Cette fonction ne requiert plus de compte d'administrateur si l'ACL

Modified: phpdoc/fr/trunk/reference/win32service/functions/win32-stop-service.xml
===================================================================
--- phpdoc/fr/trunk/reference/win32service/functions/win32-stop-service.xml	2020-12-02 09:49:09 UTC (rev 351845)
+++ phpdoc/fr/trunk/reference/win32service/functions/win32-stop-service.xml	2020-12-02 19:35:30 UTC (rev 351846)
@@ -12,7 +12,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>int</type><methodname>win32_stop_service</methodname>
+   <type>void</type><methodname>win32_stop_service</methodname>
    <methodparam><type>string</type><parameter>servicename</parameter></methodparam>
    <methodparam choice="opt"><type>string</type><parameter>machine</parameter></methodparam>
   </methodsynopsis>
@@ -50,10 +50,25 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   &win32service.noerror.false.error;
+   &return.void;
   </para>
+  <para>
+    Avant la version 1.0.0, &win32service.noerror.false.error;
+  </para>
  </refsect1>

+ <refsect1 role="errors"><!-- {{{ -->
+  &reftitle.errors;
+  <para>
+    Une <classname>ValueError</classname> est levée si la valeur du paramètre
+    <parameter>servicename</parameter> est vide.
+  </para>
+
+   <para>
+    Une <classname>Win32ServiceException</classname> est levée en cas d'erreur.
+   </para>
+ </refsect1><!-- }}} -->
+
  <refsect1 role="changelog"><!-- {{{ -->
   &reftitle.changelog;
   <para>
@@ -65,8 +80,29 @@
        <entry>&Description;</entry>
       </row>
      </thead>
-     <tbody>
+     <tbody>      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Lance une <classname>ValueError</classname> si un paramètre est invalide,
+        avant &false; était retourné.
+       </entry>
+      </row>
       <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Lance une <classname>Win32ServiceException</classname> en cas d'erreur,
+        avant un
+        <link xmlns="http://docbook.org/ns/docbook" linkend="win32service.constants.errors">Code d'erreur Win32</link>
+        était retourné.
+       </entry>
+      </row>
+      <row>
+       <entry>PECL win32service 1.0.0</entry>
+       <entry>
+        Le type de retour est maintenant <type>void</type>, avant il était <type>mixed</type>.
+       </entry>
+      </row>
+      <row>
        <entry>PECL win32service 0.3.0</entry>
        <entry>
         Cette fonction ne requiert plus de compte d'administrateur si l'ACL
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.