note 20944 deleted from function.w32api-invoke-function by sobak
| From: | sobak@php.net | Date: | Tue, 22 Nov 2016 03:50:34 +0000 |
| Subject: | note 20944 deleted from function.w32api-invoke-function by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207453@lists.php.net to get a copy of this message | ||
Note Submitter: ryan at wonko dot com
----
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);