How to hide CoreAudio's HAL plugin devices

In the kernel extensions, there was setDeviceCanBeDefault() that I could hide and show audio devices. How I can achieve something similar in CoreAudio's HAL plugin? I want to hide and show my plugin, from sound devices, at runtime.

How to hide CoreAudio's HAL plugin devices
 
 
Q