如何获取硬盘卷标显示名称

SHFILEINFO sfi;
::SHGetFileInfo( "C:\\" , 0, &sfi,  sizeof (sfi), SHGFI_DISPLAYNAME);
::MessageBox(NULL, sfi.szDisplayName, NULL, 0);

猜你喜欢

转载自blog.csdn.net/lxf20054658/article/details/8489126
今日推荐