The AVIStreamPrevSample macro locates the nearest nonempty sample that precedes a specified position in a stream.
AVIStreamPrevSample( pavi, lPos );
Handle to an open stream.
Starting position to search in the stream.
Returns the sample position if successful or - 1 otherwise.
The sample position returned does not include the sample specified by lPos.
The AVIStreamPrevSample macro is defined as follows:
#define AVIStreamPrevSample(pavi, lPos) \ AVIStreamFindSample(pavi, lPos - 1, FIND_PREV | FIND_ANY)
Windows NT/2000/XP: Included in Windows NT 3.1 and later.
Windows 95/98/Me: Included in Windows 95 and later.
Header: Declared in Vfw.h.