(PHP 4 >= 4.2.0)
w32api_register_function — Registers function function_name from library with PHP
$library
, string $function_name
, string $return_type
)
This function tries to find the function_name
function
in library
, and tries to import it into PHP.
library
The library name, as a string.
function_name
The function name, as a string.
return_type
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.
Возвращает TRUE
в случае успешного завершения или FALSE
в случае возникновения ошибки.
Эта функция является ЭКСПЕРИМЕНТАЛЬНОЙ. Поведение этой функции, ее имя и относящаяся к ней документация могут измениться в последующих версиях PHP без уведомления. Используйте эту функцию на свой страх и риск.