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