The AVIStreamNearestKeyFrameTime macro determines the time corresponding to the beginning of the key frame nearest (at or preceding) a specified time in a stream.
AVIStreamNearestKeyFrameTime(
pavi,
lTime
);
Returns the time of the nearest key frame if successful or – 1 otherwise.
The AVIStreamNearestKeyFrameTime macro is defined as follows:
#define AVIStreamNearestKeyFrameTime(pavi, lTime) \
AVIStreamSampleToTime(pavi, AVIStreamNearestKeyFrame(pavi,
AVIStreamTimeToSample(pavi, lTime)))
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
AVIFile Functions and Macros Overview, AVIFile Macros