Export (0) Print
Expand All
max
min
Expand Minimize

AVIStreamPrevSampleTime macro

The AVIStreamPrevSampleTime macro determines the time of the nearest nonempty sample that precedes a specified time in a stream.

Syntax


LONG AVIStreamPrevSampleTime(
   pavi,
   time
);

Parameters

pavi

Handle to an open stream.

time

Position information of the sample in the stream.

Return value

Returns the time if successful or –1 otherwise.

Remarks

The AVIStreamPrevSampleTime macro is defined as follows:



#define AVIStreamPrevSampleTime(pavi, time) \ 
    AVIStreamSampleToTime(pavi, \ 
    AVIStreamPrevSample(pavi, \ 
    AVIStreamTimeToSample(pavi, t))) 


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:
© 2014 Microsoft