PHP Doku:: Defines a type for use with other w32api_functions - function.w32api-deftype.html

Verlauf / Chronik / History: (21) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzWindowsbasierte ErweiterungenW32apiW32api Funktionenw32api_deftype

Ein Service von Reinhard Neidl - Webprogrammierung.

W32api Funktionen

<<W32api Funktionen

w32api_init_dtype>>

w32api_deftype

(PHP 4 >= 4.2.0)

w32api_deftypeDefines a type for use with other w32api_functions

Beschreibung

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.

Parameter-Liste

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).

Rückgabewerte

Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.

Anmerkungen

Warnung

Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere, was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko.


Ein BenutzerBeitrag:
- Beiträge aktualisieren...
nospam_ctramen at earthlink dot net
29.12.2001 5:01
The variable types appear to be case sensitive, so byte, not BYTE. Also you use string, not CHAR.



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)