LEADTOOLS Multimedia API Help > Programming with LEADTOOLS Multimedia > C Code > ILMDVRSource::CopyBufferToFile Example for C |
void OnCopyBufferToFile(ILMDVRSource* pSource) { BSTR targetFile = SysAllocString(L"C:\\Temp\\CapturedVideo.MPG"); double startPos; double endPos; ILMDVRSource_CopyBufferToFile (pSource, targetFile, startPos, endPos); SysFreeString(targetFile); }