AVIStreamPrevSampleTime macro (vfw.h)

The AVIStreamPrevSampleTime macro determines the time of the nearest nonempty sample that precedes a specified time in a stream.

Syntax

void AVIStreamPrevSampleTime(
   pavi,
   t
);

Parameters

pavi

Handle to an open stream.

t

Position information of the sample in the stream.

Return value

None

Remarks

The AVIStreamPrevSampleTime macro is defined as follows:


#define AVIStreamPrevSampleTime(pavi, time) \ 
    AVIStreamSampleToTime(pavi, \ 
    AVIStreamPrevSample(pavi, \ 
    AVIStreamTimeToSample(pavi, t))) 

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h

See also

AVIFile Functions and Macros

AVIFile Macros