ILMDVRSink::get_FolderName Example for C++

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