AVIStreamNearestKeyFrameTime macro

The AVIStreamNearestKeyFrameTime macro determines the time corresponding to the beginning of the key frame nearest (at or preceding) a specified time in a stream.

Syntax

void AVIStreamNearestKeyFrameTime(
   pavi,
   t
);

Parameters

pavi

Handle to an open stream.

t

Starting time, in milliseconds, to search in the stream.

Return Value

None

Remarks

The AVIStreamNearestKeyFrameTime macro is defined as follows:


#define AVIStreamNearestKeyFrameTime(pavi, lTime) \ 
    AVIStreamSampleToTime(pavi, AVIStreamNearestKeyFrame(pavi, 
    AVIStreamTimeToSample(pavi, lTime))) 

Requirements

   
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