标签:
TCHAR buffer[MAX_PATH] = {0}; DWORD dwVal = ::GetLogicalDriveStrings(MAX_PATH,buffer); CString str; for(int i = 0; i < dwVal; i += 4) { CString str; str.Format(_T("%c:\\"), buffer[i]); }
版权声明:本文为博主原创文章,未经博主允许不得转载。
Windows API ——GetLogicalDriveStrings——获取逻辑驱动器
标签:
原文地址:http://blog.csdn.net/jiangqin115/article/details/47253705