1

Can anyone help me in writing the WMI query to get event notification when a speaker or headphone/MIC is connected to my system. I tried SELECT * FROM __InstanceOperationEvent WITHIN .1 TargetInstance ISA 'Win32_SoundDevice'. But it doesn't seems working.

I am coding in C++.

Jackzz
  • 1,417
  • 4
  • 24
  • 53

0 Answers0