AVIStreamNextKeyFrameTime macro (vfw.h)

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

Syntax

void AVIStreamNextKeyFrameTime(
   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 AVIStreamNextKeyFrameTime macro is defined as follows:


#define AVIStreamNextKeyFrameTime(pavi, time) \ 
    AVIStreamSampleToTime(pavi, \ 
    AVIStreamNextKeyFrame(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