Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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,
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
Type: LONG
Returns the sample if successful or –1 otherwise.
Remarks
The AVIStreamSampleToSample macro is defined as follows:
#define AVIStreamSampleToSample(pavi1, pavi2, l) \
AVIStreamTimeToSample(pavi1, AVIStreamSampleToTime \
(pavi2, l))
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 |