ILMDVRSource::get_FolderName Example for C++

void OnGetFolderName(ILMDVRSource* pSource)
{
   long index = 0;
   BSTR path;
   pSource->get_FolderName(index, &path);
}