Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : W32api Functions : w32api_invoke_function

w32api_invoke_function

Invokes function funcname with the arguments passed after the function name (PHP 4 >= 4.2.0)
mixed w32api_invoke_function ( string funcname, mixed argument [, mixed ...] )


Code Examples / Notes » w32api_invoke_php

ryan

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);


Change Language


Follow Navioo On Twitter
w32api_deftype
w32api_init_dtype
w32api_invoke_function
w32api_register_function
w32api_set_call_method
eXTReMe Tracker