note 33496 deleted from ref.w32api by sobak
| From: | sobak@php.net | Date: | Sun, 04 Dec 2016 07:39:37 +0000 |
| Subject: | note 33496 deleted from ref.w32api by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208141@lists.php.net to get a copy of this message | ||
Note Submitter: silver_dragoon77 at hotmail dot com
----
hi
for phpgtk users, who might want to add some sound to their apps, here is the code, assuming
ding.wav is in the script's directory
$api = new win32;
$api->registerfunction("long sndPlaySound (string a, int b) From winmm.dll");
$api->sndPlaySound("ding.wav", 0);
you can use the big win32.hlp file containing the win32 api reference to get some other multimedia
functions
regards