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.

AVIStreamNearestSample macro

The AVIStreamNearestSample macro locates the nearest nonempty sample at or preceding a specified position in a stream.

Syntax


LONG AVIStreamNearestSample(
    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 AVIStreamNearestSample macro is defined as follows:



#define AVIStreamNearestSample(pavi, lPos) \ 
    AVIStreamFindSample(pavi, lPos, 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

 

 

Show: