note 20944 added to function.w32api-invoke-function

From: Date: Tue, 23 Apr 2002 00:01:45 +0000
Subject: note 20944 added to function.w32api-invoke-function
Groups: php.notes 
Request: Send a blank email to php-notes+get-29706@lists.php.net to get a copy of this message
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); -- http://www.php.net/manual/en/function.w32api-invoke-function.php http://master.php.net/manage/user-notes.php?action=edit+20944 http://master.php.net/manage/user-notes.php?action=delete+20944 http://master.php.net/manage/user-notes.php?action=reject+20944

« previous php.notes (#29706) next »