Reads the DVRSource data associated with the specified offset.
#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) |
Pointer to an ILMDVRSource interface.
A double value indicating the starting offset for the read operation.
A long value specifying the minimum size to read.
A long value specifying the maximum size to read.
Reserved.
A pointer to a block of memory that will receive the read data.
Pointer to a long type that will receive the size of the read data.
| 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. |
Win32, x64.
| Language | Example |
|---|---|
| C | ILMDVRSource::ReadData |
| C++ | ILMDVRSource::ReadData |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
