PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

w32api_init_dtype> <W32api Functions
Last updated: Fri, 22 Aug 2008

view this page in

w32api_deftype

(PHP 4 >= 4.2.0)

w32api_deftypeDefines a type for use with other w32api_functions

Descripción

bool w32api_deftype ( string $typename , string $member1_type , string $member1_name [, string $... [, string $... ]] )

You need to call this function if you would like to define a type for a w32api call.

Lista de parámetros

typename

The name of the type.

member1_type

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.

member1_name

The member name of member1_type .

...

...

This function takes 2n+1 arguments, where n is the number of members the type has. After that is the type of the member followed by the members name (in pairs).

Valores retornados

Devuelve TRUE si todo se llevó a cabo correctamente, FALSE en caso de fallo.

Notes

Warning

Esta función es EXPERIMENTAL. Esto significa que el comportamiento de esta función, el nombre de esta función y en definitiva TODO lo documentado sobre esta función, puede cambiar en una futura version de PHP SIN AVISO. La advertencia queda hecha, y utilizar esta extensión queda bajo su propia responsabilidad.



add a note add a note User Contributed Notes
w32api_deftype
nospam_ctramen at earthlink dot net
29-Dec-2001 05:01
The variable types appear to be case sensitive, so byte, not BYTE. Also you use string, not CHAR.

w32api_init_dtype> <W32api Functions
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites