ILMDVRSink::get_FolderName Example for C++

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