Home > PHP > Function > W32api > w32api_deftype()

w32api_deftype()

w32api_deftype - Defines a type for use with other w32api_functions

Syntax

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

Arguments

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

Description

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

Version

PHP 4.2.0

Return value

Returns TRUE on success or FALSE on failure.