摘要:
//打开一个设备接口 1 bool OpenDevice(GUID Guid, int maxInfNum) 2 { 3 HDEVINFO hwDevInfo = SetupDiGetClassDevs(&Guid, NULL, NULL, DIGCF_PRESENT|DIGCF_DEVICEINTERFACE); 4 if ( INVALID_HANDLE_VALUE == hwDevInfo ) 5 return false; 6 for ( unsigned int infIndex = 0; infIndex < maxInfNum; ++inf... 阅读全文
摘要:
类的成员函数指针数组 阅读全文