AVIStreamPrevSample macro

The AVIStreamPrevSample macro locates the nearest nonempty sample that precedes a specified position in a stream.

Syntax

void AVIStreamPrevSample(
   pavi,
   l
);

Parameters

pavi

Handle to an open stream.

l

Starting position to search in the stream.

Return Value

None

Remarks

The sample position returned does not include the sample specified by lPos.

The AVIStreamPrevSample macro is defined as follows:


#define AVIStreamPrevSample(pavi, lPos) \ 
    AVIStreamFindSample(pavi, lPos - 1, FIND_PREV | FIND_ANY) 

Requirements

   
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