W32API_DEFTYPE(3) 1 W32API_DEFTYPE(3)
w32api_deftype - Defines a type for use with other w32api_functions
SYNOPSIS
bool w32api_deftype (string $typename, string $member1_type, string $member1_name, [string $...], [string $...])
DESCRIPTION
You need to call this function if you would like to define a type for a w32api call.
PARAMETERS
o $typename
- The name of the type.
o $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 low-
ercase.
o $member1_name
- The member name of $member1_type.
o $...
-
o $...
-
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).
RETURN VALUES
Returns TRUE on success or FALSE on failure.
NOTES
Warning
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in
a future release of PHP. This function should be used at your own risk.
PHP Documentation Group W32API_DEFTYPE(3)