From 444d4487338691f0c697f67314f982460a14bbb2 Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Sat, 3 Feb 2007 16:22:05 +0000 Subject: [PATCH] WS, prepare for new doc style git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@228882 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/w32api/functions/w32api-deftype.xml | 59 +++++++++---------- .../w32api/functions/w32api-init-dtype.xml | 53 ++++++++--------- .../functions/w32api-invoke-function.xml | 51 ++++++++-------- .../functions/w32api-register-function.xml | 51 ++++++++-------- .../functions/w32api-set-call-method.xml | 43 +++++++------- 5 files changed, 125 insertions(+), 132 deletions(-) diff --git a/reference/w32api/functions/w32api-deftype.xml b/reference/w32api/functions/w32api-deftype.xml index 22074c9e97..24c6f9a120 100644 --- a/reference/w32api/functions/w32api-deftype.xml +++ b/reference/w32api/functions/w32api-deftype.xml @@ -1,34 +1,33 @@ - - - - - w32api_deftype - Defines a type for use with other w32api_functions - - - Description - - boolw32api_deftype - stringtypename - stringmember1_type - stringmember1_name - string... - string... - - &warn.experimental.func; - - If you would like to define a type for a w32api call, you need to call - w32api_deftype. 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; - - - + + + + w32api_deftype + Defines a type for use with other w32api_functions + + + Description + + boolw32api_deftype + stringtypename + stringmember1_type + stringmember1_name + string... + string... + + &warn.experimental.func; + + If you would like to define a type for a w32api call, you need to call + w32api_deftype. 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; + + + - - - - w32api_init_dtype - - Creates an instance of the data type typename and fills it with the values passed - - - - Description - - resourcew32api_init_dtype - stringtypename - mixedvalue - mixed... - - &warn.experimental.func; - - This function creates an instance of the data type named - typename, filling in the values of the data - type. The typename parameter is case sensitive. - You should give the values in the same order as you defined the - data type with w32api_deftype. The type of the - resource returned is dynaparm. - - - + + + + w32api_init_dtype + Creates an instance of the data type typename and fills it with the values passed + + + Description + + resourcew32api_init_dtype + stringtypename + mixedvalue + mixed... + + &warn.experimental.func; + + This function creates an instance of the data type named + typename, filling in the values of the data + type. The typename parameter is case sensitive. + You should give the values in the same order as you defined the + data type with w32api_deftype. The type of the + resource returned is dynaparm. + + + - - - - w32api_invoke_function - Invokes function funcname with the arguments passed after the function name - - - Description - - mixedw32api_invoke_function - stringfuncname - mixedargument - mixed... - - &warn.experimental.func; - - w32api_invoke_function tries to find the previously - registered function, named funcname, 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 - w32api_deftype defined type, as needed. - - - + + + + w32api_invoke_function + Invokes function funcname with the arguments passed after the function name + + + Description + + mixedw32api_invoke_function + stringfuncname + mixedargument + mixed... + + &warn.experimental.func; + + w32api_invoke_function tries to find the previously + registered function, named funcname, 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 + w32api_deftype defined type, as needed. + + + - - - - w32api_register_function - Registers function function_name from library with PHP - - - Description - - boolw32api_register_function - stringlibrary - stringfunction_name - stringreturn_type - - &warn.experimental.func; - - This function tries to find the function_name function - in libary, and tries to import it into PHP. The function - will be registered with the given return_type. This type - can be a generic PHP type, or a type defined with w32api_deftype. - All type names are case sensitive. Built in type names should be provided in lowercase. - &return.success; - - - + + + + w32api_register_function + Registers function function_name from library with PHP + + + Description + + boolw32api_register_function + stringlibrary + stringfunction_name + stringreturn_type + + &warn.experimental.func; + + This function tries to find the function_name function + in libary, and tries to import it into PHP. The function + will be registered with the given return_type. This type + can be a generic PHP type, or a type defined with w32api_deftype. + All type names are case sensitive. Built in type names should be provided in lowercase. + &return.success; + + + - - - - w32api_set_call_method - Sets the calling method used - - - Description - - voidw32api_set_call_method - intmethod - - &warn.experimental.func; - - This function sets the method call type. The parameter can be - one of the constants DC_CALL_CDECL or - DC_CALL_STD. The extension default is - DC_CALL_STD. - - - + + + + w32api_set_call_method + Sets the calling method used + + + Description + + voidw32api_set_call_method + intmethod + + &warn.experimental.func; + + This function sets the method call type. The parameter can be + one of the constants DC_CALL_CDECL or + DC_CALL_STD. The extension default is + DC_CALL_STD. + + +