The AVIStreamSampleToSample macro returns the sample in a stream that occurs at the same time as a sample that occurs in a second stream.
AVIStreamSampleToSample( pavi1, pavi2, lSample );
Handle to an open stream that contains the sample that is returned.
Handle to a second stream that contains the reference sample.
Position information of the sample in the stream referenced by pavi2.
Returns the sample if successful or - 1 otherwise.
The AVIStreamSampleToSample macro is defined as follows:
#define AVIStreamSampleToSample(pavi1, pavi2, lsample) \ AVIStreamTimeToSample(pavi1, AVIStreamSampleToTime \ (pavi2, lsample))
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.