mEjY的自由世界

眼界决定世界

[导入]wmi监视系统动作 摘自msdn

The following code is an example of receiving event notifications through WMI: #include "eventsink.h"int main(int iArgCnt, char ** argv){ HRESULT hres; // Step 1: -------------------------------------------------- // Initialize COM. ------------------------------------------ hres = CoInitializeEx(0, COINIT_MULTITHREADED); if (FAILED(hres)) { cout << "Failed to initialize COM library. Error code = 0x" << hex << hres
文章来源:http://blog.csdn.net/mejy/archive/2008/01/17/2049064.aspx

posted on 2008-01-24 11:25 mEjY 阅读(188) 评论(0)  编辑 收藏 引用

<2026年10月>
日一二三四五六
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

导航

统计

常用链接

留言簿(1)

随笔档案

文章分类

文章档案

搜索

最新评论

阅读排行榜

评论排行榜