AVIStreamIsKeyFrame

The AVIStreamIsKeyFrame macro indicates whether a sample in a specified stream is a key frame.

AVIStreamIsKeyFrame(
  pavi, 
  lPos  
);

Parameters

pavi

Handle to an open stream.

lPos

Position to search in the stream.

Return Values

Returns TRUE if the sample is a key frame or FALSE otherwise.

Remarks

The AVIStreamIsKeyFrame macro is defined as follows:

#define AVIStreamIsKeyFrame(pavi, lPos) \ 
    (AVIStreamNearestKeyFrame(pavi, lPos) == 1) 

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.

See Also

AVIFile Functions and Macros, AVIFile Macros