AVIStreamNextSampleTime macro

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.

Syntax


LONG AVIStreamNextSampleTime(
    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 AVIStreamNextSampleTime macro is defined as follows:



#define AVIStreamNextSampleTime(pavi, time) \ 
    AVIStreamSampleToTime(pavi, \ 
    AVIStreamNextSample(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

 

 

Show: