AVIStreamPrevSampleTime
The AVIStreamPrevSampleTime macro determines the time of the nearest nonempty sample that precedes a specified time in a stream.
AVIStreamPrevSampleTime(
pavi,
time
);
Parameters
pavi
Handle to an open stream.
time
Position information of the sample in the stream.
Return Values
Returns the time if successful or - 1 otherwise.
Remarks
The AVIStreamPrevSampleTime macro is defined as follows:
#define AVIStreamPrevSampleTime(pavi, time) \
AVIStreamSampleToTime(pavi, \
AVIStreamPrevSample(pavi, \
AVIStreamTimeToSample(pavi, t)))
Requirements
** Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
** Windows 95/98/Me:** Included in Windows 95 and later.
** Header:** Declared in Vfw.h.
See Also