The AVIStreamNearestSample macro locates the nearest nonempty sample at or preceding a specified position in a stream.
AVIStreamNearestSample(
pavi,
lPos
);
Returns the sample position if successful or -1 otherwise.
The AVIStreamNearestSample macro is defined as follows:
#define AVIStreamNearestSample(pavi, lPos) \
AVIStreamFindSample(pavi, lPos, FIND_PREV | FIND_ANY)
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
AVIFile Functions and Macros Overview, AVIFile Macros