mciSendString() should be the function you want. Look at that, as well as the setaudio command string. MCI reference can eb found in the MSDN, under Platform SDK->Graphics and Multimedia Services->Multimedia Audio->MCI.

Z.