ILMDVRSource::ReadData

Summary

Reads the DVRSource data associated with the specified offset.

Syntax

#include "ILMDVRSource.h"

Language Syntax
C HRESULT ILMDVRSource_ReadData(pILMDVRSource, startOffset, minSize, maxSize, dwUserData, pData, pSizeRead)
C++ HRESULT ReadData(startOffset, minSize, maxSize, dwUserData, pData, pSizeRead)

Parameters

ILMDVRSource *pILMDVRSource

Pointer to an ILMDVRSource interface.

double startOffset

A double value indicating the starting offset for the read operation.

long minSize

A long value specifying the minimum size to read.

long maxSize

A long value specifying the maximum size to read.

DWORD dwUserData

Reserved.

BYTE *pData

A pointer to a block of memory that will receive the read data.

long *pSizeRead

Pointer to a long type that will receive the size of the read data.

Returns

Value Meaning
S_OK The function was successful.
E_UNEXPECTED Unexpected invalid file handle.
LTMM_E_DVR_DISCARDED_DATA Data has been discarded due to a restart.
LTMM_E_DVR_CORRUPT_STUB_FILE Corrupted .LBL file.
Otherwise 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::ReadData
C++ ILMDVRSource::ReadData
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.