How would I go about changing the sound volume in c++ win32? Also how would I mute/unmute it? Thanks for the help!
Use the waveOutSetVolume API.
Here's an example:
DWORD dwVolume; if (waveOutGetVolume(NULL, &dwVolume) == MMSYSERR_NOERROR) waveOutSetVolume(NULL, 0); // mute volume // later point in code, to unmute volume... waveOutSetVolume(NULL, dwVolume);