ILMDVRSource::CopyBufferToFile

Summary

Copies the buffered recording data to the specified fully qualified target file pathname.

Syntax

#include "ILMDVRSource.h"

Language Syntax
C HRESULT ILMDVRSource_CopyBufferToFile(pILMDVRSource, pszTargetFile, startOffset, endOffset)
C++ HRESULT CopyBufferToFile(pszTargetFile, startOffset, endOffset)

Parameters

ILMDVRSource *pILMDVRSource

Pointer to an ILMDVRSource interface.

BSTR pszTargetFile

Pointer to a fully qualified pathname of destination file.

double startOffset

Starting offset of data to copy.

double endOffset

Ending offset of data to copy.

Returns

Value Meaning
S_OK The function was successful.
E_UNEXPECTED Starting offset not found.
DISP_E_BADINDEX Index supplied is outside the range of currently valid indexes.
LTMM_E_DVR_NO_RECORDINGS No .LRC recording files exist.
E_INVALIDARG Either the number of files or file size specified is not valid.
<> S_OK An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

Language Example
C ILMDVRSource::CopyBufferToFile
C++ ILMDVRSource::CopyBufferToFile
Help Version 22.0.2023.1.26
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.