ILMDVRSink::put_BaseName Example for C++

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