title: Win32 PlaySound: How to control the volume?
body: <p>I'm using the Win32 MultiMedia function <a href="http://msdn.microsoft.com/en-us/library/dd743680%28VS.85%29.aspx" rel="nofollow noreferrer">PlaySound</a> to play a sound from my application.</p>
  
  <p>I would like to be able to dynamically adjust the volume of the sound that is being played <em>without</em> modifying the system volume level.</p>
  
  <p>The only suggestions I could find for manipulating the volume of sounds played via <a href="http://msdn.microsoft.com/en-us/library/dd743680%28VS.85%29.aspx" rel="nofollow noreferrer">PlaySound</a> was to use <a href="http://msdn.microsoft.com/en-us/library/dd743874%28VS.85%29.aspx" rel="nofollow noreferrer">waveOutSetVolume</a>, however that function sets the system-wide volume level (not what I want).</p>