I have a buzz.wav wave file to play. I use
to play it. It works no problem (buzz.wav is 10K much less than
recommended 100K, fine). problem is I do want to include buzz.wav
to my project as import resource and use PlaySound to acess
to the resource directly (static binding of wav resource);
How shoul I do it ? SAY MY RESOURCE id is ID_WAV_BUZZ.
I tried several combinations but it wont take
BOOL PlaySound( LPCSTR pszSound, HMODULE hmod, DWORD fdwSound );
I only know fdwSound = SND_RESOURCE|SND_ASYNC
but I need to give my resource id ID_WAV_BUZZ also how ?
is it to load the resource first and use the handle ?