Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
max
min
Expand Minimize

AVIStreamPrevSample macro

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

Syntax


LONG AVIStreamPrevSample(
    pavi,
    lPos
);

Parameters

pavi

Handle to an open stream.

lPos

Starting position to search in the stream.

Return value

Returns the sample position if successful or –1 otherwise.

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]

Header

Vfw.h

See also

AVIFile Functions and Macros
AVIFile Macros

 

 

Community Additions

ADD
Show:
© 2015 Microsoft