downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<w32api_invoke_functionw32api_set_call_method>
Last updated: Thu, 26 Jun 2008

w32api_register_function

(PHP 4 >= 4.2.0)

w32api_register_function — Registers function function_name from library with PHP

Description

bool w32api_register_function ( string $library , string $function_name , string $return_type )

This function tries to find the function_name function in libary , and tries to import it into PHP.

Parameters

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.

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.



add a noteadd a note User Contributed Notes
Registers function function_name from library with PHP
There are no user contributed notes for this page.




<w32api_invoke_functionw32api_set_call_method>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs