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