枚举系统磁盘驱动器

代码以下:spa #include "stdafx.h" #include <vector> #include <string> #include <Windows.h> #include <tchar.h> int _tmain(int argc, _TCHAR* argv[]) { TCHAR drives[128]; //存储因此驱动器名称 wchar_t* pDrive;
相关文章
相关标签/搜索