AVIStreamNearestSample macro (vfw.h)

The AVIStreamNearestSample macro locates the nearest nonempty sample at or preceding a specified position in a stream.

Syntax

void AVIStreamNearestSample(
   pavi,
   l
);

Parameters

pavi

Handle to an open stream.

l

Starting position to search in the stream.

Return value

None

Remarks

The AVIStreamNearestSample macro is defined as follows:


#define AVIStreamNearestSample(pavi, lPos) \ 
    AVIStreamFindSample(pavi, lPos, FIND_PREV | FIND_ANY) 

Requirements

Requirement Value
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