I know about the PlaySound(); function. I know how to play a wav sound from memory, but what about playing the sound from a resource. I have made my .res script and want to know how you go about playing the sound from resource.
PlaySound ((LPCSTR) IDW_RAIN, HMODULE hModule, SND_ASYNC |SND_RESOURCE);
I basically don't know how to work the second parameter. "HMODULE hModule"