svn: /phpdoc/fr/trunk/reference/win32service/ book.xml constants.xml functions/win32-continue-service.xml functions/win32-create-service.xml functions/win32-delete-service.xml functions/win32-get-last-control-message.xml setup.xml

[email protected] (Jean-Baptiste Nahan)
Newsgroups php.doc.fr
Message-ID <[email protected]>
jbnahan                                  Tue, 01 Dec 2020 22:13:34 +0000

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

Log:
Sync with EN

Changed paths:
    U   phpdoc/fr/trunk/reference/win32service/book.xml
    U   phpdoc/fr/trunk/reference/win32service/constants.xml
    U   phpdoc/fr/trunk/reference/win32service/functions/win32-continue-service.xml
    U   phpdoc/fr/trunk/reference/win32service/functions/win32-create-service.xml
    U   phpdoc/fr/trunk/reference/win32service/functions/win32-delete-service.xml
    U   phpdoc/fr/trunk/reference/win32service/functions/win32-get-last-control-message.xml
    U   phpdoc/fr/trunk/reference/win32service/setup.xml
svn-diffs-351824.txt (text/x-diff, 16.1 KB)
Modified: phpdoc/fr/trunk/reference/win32service/book.xml
===================================================================
--- phpdoc/fr/trunk/reference/win32service/book.xml	2020-12-01 16:23:33 UTC (rev 351823)
+++ phpdoc/fr/trunk/reference/win32service/book.xml	2020-12-01 22:13:34 UTC (rev 351824)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 330340 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351746 Maintainer: jbnahan Status: ready -->
 <!-- Reviewed: no -->

 <book xml:id="book.win32service" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -20,6 +20,7 @@

  &reference.win32service.setup;
  &reference.win32service.constants;
+ &reference.win32service.win32serviceexception;
  &reference.win32service.examples;
  &reference.win32service.reference;


Modified: phpdoc/fr/trunk/reference/win32service/constants.xml
===================================================================
--- phpdoc/fr/trunk/reference/win32service/constants.xml	2020-12-01 16:23:33 UTC (rev 351823)
+++ phpdoc/fr/trunk/reference/win32service/constants.xml	2020-12-01 22:13:34 UTC (rev 351824)
@@ -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 -->

 <appendix xml:id="win32service.constants" xmlns="http://docbook.org/ns/docbook">
@@ -495,6 +495,11 @@
  </section>

  <section xml:id="win32service.constants.errors">
+  <note>
+   <para>
+    Ces constantes ne sont plus utilisées à partir de Win32Service 1.0.0.
+   </para>
+  </note>
   <table>
    <title>Codes d'Erreur Win32</title>
    <tgroup cols="3">

Modified: phpdoc/fr/trunk/reference/win32service/functions/win32-continue-service.xml
===================================================================
--- phpdoc/fr/trunk/reference/win32service/functions/win32-continue-service.xml	2020-12-01 16:23:33 UTC (rev 351823)
+++ phpdoc/fr/trunk/reference/win32service/functions/win32-continue-service.xml	2020-12-01 22:13:34 UTC (rev 351824)
@@ -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-continue-service" xmlns="http://docbook.org/ns/docbook">
@@ -11,7 +11,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>int</type><methodname>win32_continue_service</methodname>
+   <type>void</type><methodname>win32_continue_service</methodname>
    <methodparam><type>string</type><parameter>servicename</parameter></methodparam>
    <methodparam choice="opt"><type>string</type><parameter>machine</parameter></methodparam>
   </methodsynopsis>
@@ -48,10 +48,24 @@
  <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;
@@ -64,8 +78,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

Modified: phpdoc/fr/trunk/reference/win32service/functions/win32-create-service.xml
===================================================================
--- phpdoc/fr/trunk/reference/win32service/functions/win32-create-service.xml	2020-12-01 16:23:33 UTC (rev 351823)
+++ phpdoc/fr/trunk/reference/win32service/functions/win32-create-service.xml	2020-12-01 22:13:34 UTC (rev 351824)
@@ -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-create-service" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -11,7 +11,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>mixed</type><methodname>win32_create_service</methodname>
+   <type>void</type><methodname>win32_create_service</methodname>
    <methodparam><type>array</type><parameter>details</parameter></methodparam>
    <methodparam choice="opt"><type>string</type><parameter>machine</parameter></methodparam>
   </methodsynopsis>
@@ -305,10 +305,66 @@
  <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>service</parameter>est vide.
+  </para>
+  <para>
+   Une <classname>ValueError</classname> est levée si la valeur du paramètre
+   <parameter>path</parameter> est omis ou vide.
+  </para>
+  <para>
+   Une <classname>ValueError</classname> est levée si la valeur du paramètre
+   <parameter>svc_type</parameter> est incorrect.
+  </para>
+  <para>
+   Une <classname>ValueError</classname> est levée si la valeur du paramètre
+   <parameter>start_type</parameter> est incorrect.
+  </para>
+  <para>
+   Une <classname>ValueError</classname> est levée si la valeur du paramètre
+   <parameter>error_control</parameter> est incorrect.
+  </para>
+  <para>
+   Une <classname>ValueError</classname> est levée si la valeur du paramètre
+   <parameter>base_priority</parameter> est incorrect.
+  </para>
+  <para>
+   Une <classname>ValueError</classname> est levée si la valeur du paramètre
+   <parameter>recovery_delay</parameter> n'est pas entre
+   0 et PHP_INT_MAX.
+  </para>
+  <para>
+   Une <classname>ValueError</classname> est levée si la valeur du paramètre
+   <parameter>recovery_action_1</parameter> est incorrect.
+  </para>
+  <para>
+   Une <classname>ValueError</classname> est levée si la valeur du paramètre
+   <parameter>recovery_action_2</parameter> est incorrect.
+  </para>
+  <para>
+   Une <classname>ValueError</classname> est levée si la valeur du paramètre
+   <parameter>recovery_action_3</parameter> est incorrect.
+  </para>
+  <para>
+   Une <classname>ValueError</classname> est levée si la valeur du paramètre
+   <parameter>recovery_reset_period</parameter> n'est pas entre
+    0 et PHP_INT_MAX.
+  </para>
+  <para>
+   Une <classname>Win32ServiceException</classname> est levée en cas d'erreur.
+  </para>
+ </refsect1><!-- }}} -->
+
  <refsect1 role="examples">
   &reftitle.examples;
   <para>
@@ -398,6 +454,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>
         Les paramètres <parameter>dependencies</parameter>, <parameter>recovery_delay</parameter>,

Modified: phpdoc/fr/trunk/reference/win32service/functions/win32-delete-service.xml
===================================================================
--- phpdoc/fr/trunk/reference/win32service/functions/win32-delete-service.xml	2020-12-01 16:23:33 UTC (rev 351823)
+++ phpdoc/fr/trunk/reference/win32service/functions/win32-delete-service.xml	2020-12-01 22:13:34 UTC (rev 351824)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 304597 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351746 Maintainer: jbnahan Status: ready -->
 <!-- Reviewed: no -->

 <refentry xml:id="function.win32-delete-service" xmlns="http://docbook.org/ns/docbook">
@@ -11,7 +11,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>mixed</type><methodname>win32_delete_service</methodname>
+   <type>void</type><methodname>win32_delete_service</methodname>
    <methodparam><type>string</type><parameter>servicename</parameter></methodparam>
    <methodparam choice="opt"><type>string</type><parameter>machine</parameter></methodparam>
   </methodsynopsis>
@@ -55,10 +55,26 @@
  <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="examples">
   &reftitle.examples;
   <para>
@@ -78,6 +94,46 @@
   </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;
   <para>

Modified: phpdoc/fr/trunk/reference/win32service/functions/win32-get-last-control-message.xml
===================================================================
--- phpdoc/fr/trunk/reference/win32service/functions/win32-get-last-control-message.xml	2020-12-01 16:23:33 UTC (rev 351823)
+++ phpdoc/fr/trunk/reference/win32service/functions/win32-get-last-control-message.xml	2020-12-01 22:13:34 UTC (rev 351824)
@@ -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-get-last-control-message" xmlns="http://docbook.org/ns/docbook">
@@ -36,20 +36,37 @@
    <link linkend="win32service.constants.servicecontrol">les
     constantes de contrôle des messages de service Win32Service</link> :
    <constant>WIN32_SERVICE_CONTROL_CONTINUE</constant>,
+   <constant>WIN32_SERVICE_CONTROL_DEVICEEVENT</constant>,
+   <constant>WIN32_SERVICE_CONTROL_HARDWAREPROFILECHANGE</constant>,
    <constant>WIN32_SERVICE_CONTROL_INTERROGATE</constant>,
+   <constant>WIN32_SERVICE_CONTROL_NETBINDADD</constant>,
+   <constant>WIN32_SERVICE_CONTROL_NETBINDDISABLE</constant>,
+   <constant>WIN32_SERVICE_CONTROL_NETBINDENABLE</constant>,
+   <constant>WIN32_SERVICE_CONTROL_NETBINDREMOVE</constant>,
+   <constant>WIN32_SERVICE_CONTROL_PARAMCHANGE</constant>,
    <constant>WIN32_SERVICE_CONTROL_PAUSE</constant>,
+   <constant>WIN32_SERVICE_CONTROL_POWEREVENT</constant>,
    <constant>WIN32_SERVICE_CONTROL_PRESHUTDOWN</constant>,
+   <constant>WIN32_SERVICE_CONTROL_SESSIONCHANGE</constant>,
    <constant>WIN32_SERVICE_CONTROL_SHUTDOWN</constant>,
    <constant>WIN32_SERVICE_CONTROL_STOP</constant>.
   </para>
+  <para>
+   Si la valeur se situe entre 128 et 255, le code de contrôle est personnalisé.
+  </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="changelog"><!-- {{{ -->
@@ -65,6 +82,22 @@
      </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 0.2.0</entry>
        <entry>
         Cette fonction fonctionne uniquement en ligne de

Modified: phpdoc/fr/trunk/reference/win32service/setup.xml
===================================================================
--- phpdoc/fr/trunk/reference/win32service/setup.xml	2020-12-01 16:23:33 UTC (rev 351823)
+++ phpdoc/fr/trunk/reference/win32service/setup.xml	2020-12-01 22:13:34 UTC (rev 351824)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 345077 Maintainer: jbnahan Status: ready -->
+<!-- EN-Revision: 351746 Maintainer: jbnahan Status: ready -->
 <!-- Reviewed: no -->

 <chapter xml:id="win32service.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -10,8 +10,8 @@
  <section xml:id="win32service.requirements">
   &reftitle.required;
   <para>
-   Windows NT, Windows 2000, Windows XP ou Windows Server 2003. N'importe
-   quelle version de windows dérivé de Windows NT devrait être compatible.
+   Les versions de Windows prises en charge sont les mêmes que le package
+   redistribuable Visual C++ utilisé pour construire PHP.
   </para>
  </section>
  <!-- }}} -->
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.