【COM】异步通知 ExecNotificationQueryAsync 的使用问题
概述:异步通知 IWbemServices::ExecNotificationQueryAsync 的使用问题。调用 CancelAsyncCall 之后导致程序崩溃。 代码参考微软官方示例:示例:通过 WMI 接收事件通知 - Win32 apps | Microsoft Learn 0x01 复现场景 环境:windows server 2008 参考微软官方代码实现一个进程,使用