AVIStreamPrevKeyFrameTime macro (vfw.h)

The AVIStreamPrevKeyFrameTime macro returns the time of the previous key frame in the stream, starting at a given time.

Syntax

void AVIStreamPrevKeyFrameTime(
   pavi,
   t
);

Parameters

pavi

Handle to an open stream.

t

Position in the stream to begin searching.

Return value

None

Remarks

The search performed by this macro includes the frame that corresponds to the specified time.

The AVIStreamPrevKeyFrameTime macro is defined as follows:


#define AVIStreamPrevKeyFrameTime(pavi, time) \ 
    AVIStreamSampleToTime(pavi, AVIStreamPrevKeyFrame(pavi, 
    AVIStreamTimeToSample(pavi, time))) 

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