AVIStreamNearestSampleTime macro (vfw.h)

The AVIStreamNearestSampleTime macro determines the time corresponding to the beginning of a sample that is nearest to a specified time in a stream.

Syntax

void AVIStreamNearestSampleTime(
   pavi,
   t
);

Parameters

pavi

Handle to an open stream.

t

Starting time, in milliseconds, to search in the stream.

Return value

None

Remarks

The AVIStreamNearestSampleTime macro is defined as follows:


#define AVIStreamNearestSampleTime(pavi, lTime) \ 
    AVIStreamSampleToTime(pavi, AVIStreamNearestSample(pavi, 
    AVIStreamTimeToSample(pavi, lTime))) 

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h

See also

AVIFile Functions and Macros

AVIFile Macros