ILMDVRSource::get_FolderName Example for C++

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