Redigera

Dela via


AVIStreamNextSample macro (vfw.h)

The AVIStreamNextSample macro locates the next nonempty sample from a specified position in a stream.

Syntax

LONG AVIStreamNextSample(
     pavi,
     l
);

Parameters

pavi

Handle to an open stream.

l

Starting position to search in the stream.

Return value

Type: LONG

Returns the sample position if successful or –1 otherwise.

Remarks

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

The AVIStreamNextSample macro is defined as follows:


#define AVIStreamNextSample(pavi, l) \ 
    AVIStreamFindSample(pavi, l + 1, FIND_NEXT | FIND_ANY) 

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

See also

AVIFile Functions and Macros

AVIFile Macros