Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AVIStreamSampleToSample macro

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


LONG 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 value

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

See also

AVIFile Functions and Macros
AVIFile Macros

 

 

Community Additions

Show:
© 2015 Microsoft