AVIStreamNearestKeyFrame
max
min
TOC
Collapse the table of content
Expand the table of content

AVIStreamNearestKeyFrame macro

The AVIStreamNearestKeyFrame macro locates the key frame at or preceding a specified position in a stream.

Syntax


LONG AVIStreamNearestKeyFrame(
    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 AVIStreamNearestKeyFrame macro is defined as follows:



#define AVIStreamNearestKeyFrame(pavi, lPos) \ 
    AVIStreamFindSample(pavi, lPos , FIND_PREV | 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:
© 2016 Microsoft