I want to be able to list and select the Windows audio output devices from a VB6 application, so the user can then select which one to use for the program. i.e. perhaps they would like to choose headphones for the program whilst other applications continue to use the Windows default.
Obviously I can select default audio output for any running application via Windows settings but I want to be able to do this programmatically.
I don't mind what language you use to accomplish this but I must be able to call it from a VB6 application and you must therefore provide full details on how to do this.