Richard,
[Quoted Text] > Depending on whether it's a late Saturday night and I'm doing some gaming, or > a day home alone when I want to listen to music, I change my audio device > frequently. I'd like to automate the following process on Windows XP: > > Control Panel->Sounds and Audio Devices->Audio Tab->Sounds and Playback Device > > I don't need anyone to walk me through it, I'm just wondewring which API to > use?
On XP you should be able to use DRVM_MAPPER_PREFERRED_SET message http://msdn.microsoft.com/en-us/library/aa908376.aspx sent via waveOutMessage.
Roman
|