///< 获取系统中所有的盘符
int GetAllDrives(std::vector<CStringA>& vecDrives)
{
char szbuf[MAX_PATH] = {0};
GetLogicalDriveStringsA(MAX_PATH,szbuf);
int nCount = 0;
char * pDrive = szbuf;
for(int nlen =strlen(szbuf); nlen == 3 ;nCount++)
{
CStringA strDrive = pDrive;
vecDrives.push_back(strDrive);
pDrive +=4;
nlen = strlen(pDrive);
}
return nCount;
}
int GetAllDrives(std::vec