Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
WMI当扬声器或耳机/麦克风连接到我的系统时,任何人都可以帮助我编写查询以获取事件通知。我试过了SELECT * FROM __InstanceOperationEvent WITHIN .1 TargetInstance ISA 'Win32_SoundDevice'。但这似乎不起作用。
WMI
SELECT * FROM __InstanceOperationEvent WITHIN .1 TargetInstance ISA 'Win32_SoundDevice'
我正在编码C++。
C++