In Vista, is there a way to programmatically or through the registry set the sound device for playback .  In XP, you could set the SoundMapper registry setting “Playback” key to the name of the device you wanted the program to use as long as you set it before program startup.  Once the program started, you could set the “Playback” key to a different device and have all the other applications use that device.  This helps keep sound secluded for recording audio calls and things of that nature.

The only caveat is that you couldn’t use the mmsys.cpl to reset the device otherwise the program would default back to the device you set it back to once the program stopped outputting audio.

Does anyone know if there is a registry key or a programmatic way (as long as it doesn't reset all other applications to that device) in Vista that will do the same thing as in XP?

Thanks,

John