ILMDVRSink::put_BaseName Example for C++

void CDVRSinkDlg::OnSetBaseName(ILMDVRSink* pSink)
{
   BSTR base = ::SysAllocString(L"Capture");
   pSink-> put_BaseName  (base);
   ::SysFreeString(base);
}