Share via


AVIStreamNextSampleTime

The AVIStreamNextSampleTime macro returns the time that a sample changes to the next sample in the stream. This macro finds the next interesting time in a stream.

AVIStreamNextSampleTime(
  pavi, 
  time  
);

Parameters

pavi

Handle to an open stream.

time

Position information of the sample in the stream.

Return Values

Returns the time if successful or - 1 otherwise.

Remarks

The AVIStreamNextSampleTime macro is defined as follows:

#define AVIStreamNextSampleTime(pavi, time) \ 
    AVIStreamSampleToTime(pavi, \ 
    AVIStreamNextSample(pavi, \ 
    AVIStreamTimeToSample(pavi, t))) 

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