didou Sat Feb 3 16:22:05 2007 UTC
Modified files: /phpdoc/en/reference/w32api/functions w32api-deftype.xml w32api-init-dtype.xml w32api-invoke-function.xml w32api-register-function.xml w32api-set-call-method.xml Log: WS, prepare for new doc style
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/w32api/functions/w32api-deftype.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/reference/w32api/functions/w32api-deftype.xml diff -u phpdoc/en/reference/w32api/functions/w32api-deftype.xml:1.4 phpdoc/en/reference/w32api/functions/w32api-deftype.xml:1.5 --- phpdoc/en/reference/w32api/functions/w32api-deftype.xml:1.4 Sat Jul 20 16:00:50 2002 +++ phpdoc/en/reference/w32api/functions/w32api-deftype.xml Sat Feb 3 16:22:05 2007 @@ -1,34 +1,33 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- splitted from ./en/functions/w32api.xml, last change in rev 1.1 --> - <refentry id="function.w32api-deftype"> - <refnamediv> - <refname>w32api_deftype</refname> - <refpurpose>Defines a type for use with other w32api_functions</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>bool</type><methodname>w32api_deftype</methodname> - <methodparam><type>string</type><parameter>typename</parameter></methodparam> - <methodparam><type>string</type><parameter>member1_type</parameter></methodparam> - <methodparam><type>string</type><parameter>member1_name</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>...</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>...</parameter></methodparam> - </methodsynopsis> - &warn.experimental.func; - <para> - If you would like to define a type for a w32api call, you need to call - <function>w32api_deftype</function>. This function takes 2n+1 arguments, - where n is the number of members the type has. The first argument is the - name of the type. After that is the type of the member followed by the - members name (in pairs). A member type can be a user defined type. All - the type names are case sensitive. Built in type names should be provided - in lowercase. - &return.success; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.5 $ --> +<refentry id="function.w32api-deftype"> + <refnamediv> + <refname>w32api_deftype</refname> + <refpurpose>Defines a type for use with other w32api_functions</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>w32api_deftype</methodname> + <methodparam><type>string</type><parameter>typename</parameter></methodparam> + <methodparam><type>string</type><parameter>member1_type</parameter></methodparam> + <methodparam><type>string</type><parameter>member1_name</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>...</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>...</parameter></methodparam> + </methodsynopsis> + &warn.experimental.func; + <para> + If you would like to define a type for a w32api call, you need to call + <function>w32api_deftype</function>. This function takes 2n+1 arguments, + where n is the number of members the type has. The first argument is the + name of the type. After that is the type of the member followed by the + members name (in pairs). A member type can be a user defined type. All + the type names are case sensitive. Built in type names should be provided + in lowercase. + &return.success; + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/w32api/functions/w32api-init-dtype.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/reference/w32api/functions/w32api-init-dtype.xml diff -u phpdoc/en/reference/w32api/functions/w32api-init-dtype.xml:1.4 phpdoc/en/reference/w32api/functions/w32api-init-dtype.xml:1.5 --- phpdoc/en/reference/w32api/functions/w32api-init-dtype.xml:1.4 Sat Jul 20 16:00:51 2002 +++ phpdoc/en/reference/w32api/functions/w32api-init-dtype.xml Sat Feb 3 16:22:05 2007 @@ -1,32 +1,29 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- splitted from ./en/functions/w32api.xml, last change in rev 1.1 --> - <refentry id="function.w32api-init-dtype"> - <refnamediv> - <refname>w32api_init_dtype</refname> - <refpurpose> - Creates an instance of the data type typename and fills it with the values passed - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>resource</type><methodname>w32api_init_dtype</methodname> - <methodparam><type>string</type><parameter>typename</parameter></methodparam> - <methodparam><type>mixed</type><parameter>value</parameter></methodparam> - <methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam> - </methodsynopsis> - &warn.experimental.func; - <para> - This function creates an instance of the data type named - <parameter>typename</parameter>, filling in the values of the data - type. The <parameter>typename</parameter> parameter is case sensitive. - You should give the values in the same order as you defined the - data type with <function>w32api_deftype</function>. The type of the - resource returned is <literal>dynaparm</literal>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.5 $ --> +<refentry id="function.w32api-init-dtype"> + <refnamediv> + <refname>w32api_init_dtype</refname> + <refpurpose>Creates an instance of the data type typename and fills it with the values passed</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>resource</type><methodname>w32api_init_dtype</methodname> + <methodparam><type>string</type><parameter>typename</parameter></methodparam> + <methodparam><type>mixed</type><parameter>value</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam> + </methodsynopsis> + &warn.experimental.func; + <para> + This function creates an instance of the data type named + <parameter>typename</parameter>, filling in the values of the data + type. The <parameter>typename</parameter> parameter is case sensitive. + You should give the values in the same order as you defined the + data type with <function>w32api_deftype</function>. The type of the + resource returned is <literal>dynaparm</literal>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/w32api/functions/w32api-invoke-function.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/w32api/functions/w32api-invoke-function.xml diff -u phpdoc/en/reference/w32api/functions/w32api-invoke-function.xml:1.3 phpdoc/en/reference/w32api/functions/w32api-invoke-function.xml:1.4 --- phpdoc/en/reference/w32api/functions/w32api-invoke-function.xml:1.3 Sat Jul 20 15:23:25 2002 +++ phpdoc/en/reference/w32api/functions/w32api-invoke-function.xml Sat Feb 3 16:22:05 2007 @@ -1,30 +1,29 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- splitted from ./en/functions/w32api.xml, last change in rev 1.1 --> - <refentry id="function.w32api-invoke-function"> - <refnamediv> - <refname>w32api_invoke_function</refname> - <refpurpose>Invokes function funcname with the arguments passed after the function name</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>mixed</type><methodname>w32api_invoke_function</methodname> - <methodparam><type>string</type><parameter>funcname</parameter></methodparam> - <methodparam><type>mixed</type><parameter>argument</parameter></methodparam> - <methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam> - </methodsynopsis> - &warn.experimental.func; - <para> - <function>w32api_invoke_function</function> tries to find the previously - registered function, named <parameter>funcname</parameter>, passing the - parameters you provided. The return type is the one you set when you - registered the function, the value is the one returned by the function - itself. Any of the arguments can be of any PHP type or - <function>w32api_deftype</function> defined type, as needed. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<refentry id="function.w32api-invoke-function"> + <refnamediv> + <refname>w32api_invoke_function</refname> + <refpurpose>Invokes function funcname with the arguments passed after the function name</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>mixed</type><methodname>w32api_invoke_function</methodname> + <methodparam><type>string</type><parameter>funcname</parameter></methodparam> + <methodparam><type>mixed</type><parameter>argument</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam> + </methodsynopsis> + &warn.experimental.func; + <para> + <function>w32api_invoke_function</function> tries to find the previously + registered function, named <parameter>funcname</parameter>, passing the + parameters you provided. The return type is the one you set when you + registered the function, the value is the one returned by the function + itself. Any of the arguments can be of any PHP type or + <function>w32api_deftype</function> defined type, as needed. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/w32api/functions/w32api-register-function.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/w32api/functions/w32api-register-function.xml diff -u phpdoc/en/reference/w32api/functions/w32api-register-function.xml:1.5 phpdoc/en/reference/w32api/functions/w32api-register-function.xml:1.6 --- phpdoc/en/reference/w32api/functions/w32api-register-function.xml:1.5 Wed Apr 16 20:19:39 2003 +++ phpdoc/en/reference/w32api/functions/w32api-register-function.xml Sat Feb 3 16:22:05 2007 @@ -1,30 +1,29 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/w32api.xml, last change in rev 1.1 --> - <refentry id="function.w32api-register-function"> - <refnamediv> - <refname>w32api_register_function</refname> - <refpurpose>Registers function function_name from library with PHP</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>bool</type><methodname>w32api_register_function</methodname> - <methodparam><type>string</type><parameter>library</parameter></methodparam> - <methodparam><type>string</type><parameter>function_name</parameter></methodparam> - <methodparam><type>string</type><parameter>return_type</parameter></methodparam> - </methodsynopsis> - &warn.experimental.func; - <para> - This function tries to find the <parameter>function_name</parameter> function - in <parameter>libary</parameter>, and tries to import it into PHP. The function - will be registered with the given <parameter>return_type</parameter>. This type - can be a generic PHP type, or a type defined with <function>w32api_deftype</function>. - All type names are case sensitive. Built in type names should be provided in lowercase. - &return.success; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id="function.w32api-register-function"> + <refnamediv> + <refname>w32api_register_function</refname> + <refpurpose>Registers function function_name from library with PHP</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>w32api_register_function</methodname> + <methodparam><type>string</type><parameter>library</parameter></methodparam> + <methodparam><type>string</type><parameter>function_name</parameter></methodparam> + <methodparam><type>string</type><parameter>return_type</parameter></methodparam> + </methodsynopsis> + &warn.experimental.func; + <para> + This function tries to find the <parameter>function_name</parameter> function + in <parameter>libary</parameter>, and tries to import it into PHP. The function + will be registered with the given <parameter>return_type</parameter>. This type + can be a generic PHP type, or a type defined with <function>w32api_deftype</function>. + All type names are case sensitive. Built in type names should be provided in lowercase. + &return.success; + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/w32api/functions/w32api-set-call-method.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/w32api/functions/w32api-set-call-method.xml diff -u phpdoc/en/reference/w32api/functions/w32api-set-call-method.xml:1.3 phpdoc/en/reference/w32api/functions/w32api-set-call-method.xml:1.4 --- phpdoc/en/reference/w32api/functions/w32api-set-call-method.xml:1.3 Sat Jul 20 15:23:25 2002 +++ phpdoc/en/reference/w32api/functions/w32api-set-call-method.xml Sat Feb 3 16:22:05 2007 @@ -1,26 +1,25 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- splitted from ./en/functions/w32api.xml, last change in rev 1.1 --> - <refentry id="function.w32api-set-call-method"> - <refnamediv> - <refname>w32api_set_call_method</refname> - <refpurpose>Sets the calling method used</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>void</type><methodname>w32api_set_call_method</methodname> - <methodparam><type>int</type><parameter>method</parameter></methodparam> - </methodsynopsis> - &warn.experimental.func; - <para> - This function sets the method call type. The parameter can be - one of the constants <constant>DC_CALL_CDECL</constant> or - <constant>DC_CALL_STD</constant>. The extension default is - <constant>DC_CALL_STD</constant>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<refentry id="function.w32api-set-call-method"> + <refnamediv> + <refname>w32api_set_call_method</refname> + <refpurpose>Sets the calling method used</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>void</type><methodname>w32api_set_call_method</methodname> + <methodparam><type>int</type><parameter>method</parameter></methodparam> + </methodsynopsis> + &warn.experimental.func; + <para> + This function sets the method call type. The parameter can be + one of the constants <constant>DC_CALL_CDECL</constant> or + <constant>DC_CALL_STD</constant>. The extension default is + <constant>DC_CALL_STD</constant>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: