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.

AVIStreamPrevKeyFrameTime macro

The AVIStreamPrevKeyFrameTime macro returns the time of the previous key frame in the stream, starting at a given time.

Syntax


LONG AVIStreamPrevKeyFrameTime(
   pavi,
   time
);

Parameters

pavi

Handle to an open stream.

time

Position in the stream to begin searching.

Return value

Returns the time if successful or –1 otherwise.

Remarks

The search performed by this macro includes the frame that corresponds to the specified time.

The AVIStreamPrevKeyFrameTime macro is defined as follows:



#define AVIStreamPrevKeyFrameTime(pavi, time) \ 
    AVIStreamSampleToTime(pavi, AVIStreamPrevKeyFrame(pavi, 
    AVIStreamTimeToSample(pavi, time))) 


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

 

 

Community Additions

Show:
© 2014 Microsoft