ILMDVRSink::StartBackupToFile Example for C

void OnBackupToFile(ILMDVRSink* pSink)
{
   BSTR targetFile = ::SysAllocString(L"C:\\Temp\\BackupVideo.MPG");

   ILMDVRSink_ StartBackupToFile  (pSink, targetFile);

   ::SysFreeString(targetFile);
}