ILMDVRSink::StartBackupToFile Example for C++

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

   pSink-> StartBackupToFile  (targetFile);

   ::SysFreeString(targetFile);
}