Skip to content


How to play sound on the PocketPC using Win32

There are some functions that allow you to play sounds on a PPC:

* MessageBeep function is useful when you need to play a system alert.
MessageBeep(0xFFFFFFFF);

* PlaySound function should be used to play a .wav file from any source (file, resources and memory.

PlaySound(_T(”\\Windows\\empty.wav”), NULL, SND_ASYNC | SND_FILENAME);

* waveOut… functions are useful to play custom sound that is generated by your program. These functions are often used in games development.

Posted in Windows Mobile.

Tagged with , .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.