Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AVIStreamNextKeyFrame macro

The AVIStreamNextKeyFrame macro locates the next key frame following a specified position in a stream.

Syntax


LONG AVIStreamNextKeyFrame(
    pavi,
    lPos
);

Parameters

pavi

Handle to an open stream.

lPos

Starting position to search in the stream.

Return value

Returns the position of the key frame if successful or –1 otherwise.

Remarks

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) 


Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

See also

AVIFile Functions and Macros
AVIFile Macros

 

 

Show: