AVIStreamSampleToSample macro (vfw.h)

The AVIStreamSampleToSample macro returns the sample in a stream that occurs at the same time as a sample that occurs in a second stream.

Syntax

void AVIStreamSampleToSample(
   pavi1,
   pavi2,
   l
);

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.

l

Position information of the sample in the stream referenced by pavi2.

Return value

None

Remarks

The AVIStreamSampleToSample macro is defined as follows:


#define AVIStreamSampleToSample(pavi1, pavi2, lsample) \ 
    AVIStreamTimeToSample(pavi1, AVIStreamSampleToTime \ 
    (pavi2, lsample)) 

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h

See also

AVIFile Functions and Macros

AVIFile Macros