ILMDVRSink::put_FolderName Example for C++
void CDVRSinkDlg::OnSetFolderName(ILMDVRSink* pSink) { long index = 0; BSTR path = ::SysAllocString(L"C:\\Temp\\"); pSink-> put_FolderName (index, path); ::SysFreeString(path); }