//声明:
UINT GetDriveType(
LPCTSTR lpRootPathName // root directory 盘符根目录
);
DRIVE_UNKNOWN | = 未知类型 |
DRIVE_REMOVABLE = 2; {软盘}
DRIVE_FIXED = 3; {本地硬盘}
DRIVE_REMOTE = 4; {网络磁盘}
DRIVE_CDROM = 5; {CD-ROM}
DRIVE_RAMDISK = 6; {RAM 磁盘}//
//声明:
UINT GetDriveType(
LPCTSTR lpRootPathName // root directory 盘符根目录
);
DRIVE_UNKNOWN | = 未知类型 |