note 33496 added to ref.w32api

From: Date: Fri, 27 Jun 2003 17:03:44 +0000
Subject: note 33496 added to ref.w32api
Groups: php.notes 
Request: Send a blank email to php-notes+get-51108@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/ref.w32api.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33496 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33496&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33496&report=yes

« previous php.notes (#51108) next »