ILMDVRSink::put_BaseName Example for C

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