You will have to use the waveOutXXX functions from Win32. Follow this link
for a short tutorial on how to play wave sounds through those functions:
http://www.planet-source-code.com/vb...=4422&lngWId=3
Also if you search MSDN there are waveOutXXX functions that will allow you
to enumerate output devices and select them.
http://msdn.microsoft.com/library/de...aveoutopen.asp
Alex
"Sagaert Johan" <RE*************@hotmail.com> wrote in message
news:uD**************@TK2MSFTNGP14.phx.gbl...
Hi
I can play a wave file through a p/invoke to winmm , but how can i play a
wave file to a specific audio device if i have more then one audio device
in
my pc ?
Johan