ILMDVRSink::put_FolderName Example for C

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