PHP: w32api_invoke_function - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

w32api_register_function w32api_init_dtype

Last updated: Fri, 26 Jan 2007

view this page in

# w32api_invoke_function

(4.2.0 - 4.2.3 only)

w32api_invoke_function -- Invokes function funcname with the arguments passed after the function name

## Description

mixed w32api_invoke_function ( string funcname, mixed argument [, mixed ...] )

Внимание
Эта функция является ЭКСПЕРИМЕНТАЛЬНОЙ. Поведение этой функции, ее имя и относящаяся к ней документация могут измениться в последующих версиях PHP без уведомления. Используйте эту функцию на свой страх и риск.

w32api_invoke_function() tries to find the previously registered function, named `funcname`, passing the parameters you provided. The return type is the one you set when you registered the function, the value is the one returned by the function itself. Any of the arguments can be of any PHP type or w32api_deftype() defined type, as needed.

add a note User Contributed Notes
w32api_invoke_function
ryan at wonko dot com
22-Apr-2002 08:01
`As of PHP 4.2.0, this function doesn't appear to do anything useful (nor does it even work). Instead, use w32api_register_function to register your function and then simply call the function you registered just like you would call any normal PHP function. For example, the following snippet will display a standard messagebox:
w32api_register_function("User32.dll",
"MessageBoxA",
"long");
MessageBoxA(NULL,
"Hello World!",
"PHP MessageBox",
0);`
add a note
w32api_register_function w32api_init_dtype

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST