ILMDVRSink::put_BaseName Example for C

void OnSetBaseName(ILMDVRSink* pSink)
{
   BSTR base = SysAllocString(L"Capture");
   
   ILMDVRSink_put_BaseName(pSink, base);

   SysFreeString(base);
}