Greetings!
I?m interested in temporarily disabling all audio devices on the system.? I
want no audio devices to show in the audio control panel (and waveapi,
directx, etc) except my virtual audio driver which I’m going to load
dynamically afterwards.
Microsoft Remote Desktop does that. How can I achieve the equivalent?
I have tried enumerating devices?that have?the KSCATEGORY_AUDIO and
KSCATEGORY_RENDER device interfaces (like DirectKS does) and then disabling
them through SetupDi calls. ?I had mixed results.? But in any case, it does
not return all devices (some virtual audio devices are not returned,
why?)?so I am a bit confused. If anyone can give me?some kind of advice,
I’d be very grateful!
TIA,
Mat
PS: I’ve tried KSCATEGORY_AUDIO_DEVICE as well.