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