VC之获得系统安装的反病毒软件[Using WMI in C++](二)

2014-11-23 20:26:20 · 作者: · 浏览: 118
turn 1; // Program has failed.

}


// Step 3: ---------------------------------------------------

// Obtain the initial locator to WMI -------------------------


IWbemLocator *pLoc = NULL;


hres = CoCreateInstance(

CLSID_WbemLocator,

0,