I have a need to disable when loading the driver two check boxes in the recording audio Advanced Tab.
- Allow applications to take exclusive control of this device
- Give exclusive mode applications priority
I have been trying to do it in the INF file. I am not sure it is the same exclusive mode as in the panel.
I am using these commands:
[NewTek_AudioPortClass.NT.HW]
AddReg=NewTek_AudioPortClass.AddReg.HW
[NewTek_AudioPortClass.NT$ARCH$.HW]
AddReg=NewTek_AudioPortClass.AddReg.HW
then later
[NewTek_AudioPortClass.AddReg.HW]
HKR,,Exclusive,0x10001,0
It has no effect. I am not sure I am disabling the right exclusive mode.
The driver itself does not setup exclusive mode.
There is a second options in regedit, with a script, but the INF file solution seems a lot better:
I did find the two values in the registry and changing them by had does what I want, but it seems better to do it in the INF file.