64,654
社区成员
发帖
与我相关
我的任务
分享
DWORD dwDriveList = ::GetLogicalDrives ();
while (dwDriveList) {
if (dwDriveList & 1) {
string.SetAt (0, _T ('A') + nPos);
if (AddDriveItem (string))
nDrivesAdded++;
}
dwDriveList >>= 1;
nPos++;
}