ILMDVRSource.ReadData Method

DVR Module How To Examples

 

Syntax

Object.ReadData(StartOffset As Double, MinSize As Long, MaxSize As Long, UserData As Long, ByRef Data As Byte, ByRef SizeRead As Long)

 

Parameter

Description

StartOffset

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

MinSize

A long value specifying the minimum size to read.

MaxSize

A long value specifying the maximum size to read.

UserData

Reserved.

Data

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

SizeRead

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

Returns

S_OK

The function was successful.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

 

Remarks

Reads the DVRSource data associated with the specified offset.

See Also

Functions:

ILMDVRSource.GetAvailabilityInfo Method

Topics:

Multimedia Properties, Methods and Events , DVR Module Properties, Methods and Events