The AVIStreamNextKeyFrame macro locates the next key frame following a specified position in a stream.
AVIStreamNextKeyFrame(
pavi,
lPos
);
Returns the position of the key frame if successful or – 1 otherwise.
The search performed by this macro does not include the frame at the specified position.
The AVIStreamNextKeyFrame macro is defined as follows:
#define AVIStreamNextKeyFrame(pavi, lPos) \
AVIStreamFindSample(pavi, lPos + 1, FIND_NEXT | FIND_KEY)
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