SECFileSystem::GetVolumeLabel

CStringSECFileSystem::GetVolumeLabel(const CString&FileSystem)

Returns the volume label of the specified filesystem.

Defined in: filesys.cpp

Return Value

The volume label for the specified filesystem. If no volume label is available, a zero length string is returned.

Parameters

FileSystem

The name of the filesystem.

Example

CString VolumeLabel = fs.GetVolumneLabel("c:\\");

See Also

SECFileSystem