Does GetVolumeNameForVolumeMountPoint() return the GUID of a volume?
Posted
by sxingfeng
on Stack Overflow
See other posts from Stack Overflow
or by sxingfeng
Published on 2010-04-26T10:03:02Z
Indexed on
2010/04/26
10:13 UTC
Read the original article
Hit count: 197
Does GetVolumeNameForVolumeMountPoint() return the GUID of a volume in c++?
GetVolumeNameForVolumeMmountPoint()
{
LPCTSTR lpszvolumeMountPoint,
LPTSTR lpszVolumeName,
DWORDcchBufferLength,
}
I mean if I am using a removeable disk. will the lpszVolumeName remained the same on the same computer? Does it return a certain ID for a certain volume everytime I insert the disk on my computer' USBport. And Make sure different disk's volumes will get different result? Many Thanks!
© Stack Overflow or respective owner