AVIStreamPrevKeyFrame macro (vfw.h)

The AVIStreamPrevKeyFrame macro locates the key frame that precedes a specified position in a stream.

Syntax

void AVIStreamPrevKeyFrame(
   pavi,
   l
);

Parameters

pavi

Handle to an open stream.

l

Starting position to search in the stream.

Return value

None

Remarks

The search performed by this macro does not include the frame at the specified position.

The AVIStreamPrevKeyFrame macro is defined as follows:


#define AVIStreamPrevKeyFrame(pavi, lPos) \ 
    AVIStreamFindSample(pavi, lPos - 1, FIND_PREV | FIND_KEY) 

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