The AVIStreamNextSample macro locates the next nonempty sample from a specified position in a stream.
AVIStreamNextSample(
pavi,
lPos
);
Returns the sample position if successful or – 1 otherwise.
The sample position returned does not include the sample specified by lPos.
The AVIStreamNextSample macro is defined as follows:
#define AVIStreamNextSample(pavi, lPos) \
AVIStreamFindSample(pavi, lPos + 1, FIND_NEXT | 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