void OnSetFolderName(ILMDVRSink* pSink) { long index = 0; BSTR path = SysAllocString(L"C:\\Temp\\"); ILMDVRSink_put_FolderName(pSink, index, path); SysFreeString(path); }