Export (0) Print
Expand All
max
min
Expand Minimize

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

ADD
Show:
© 2015 Microsoft