max
min
Expand Minimize
This topic has not yet been rated - Rate this topic

AVIStreamEnd macro

The AVIStreamEnd macro calculates the sample associated with the end of a stream.

Syntax


LONG AVIStreamEnd(
   pavi
);

Parameters

pavi

Handle to an open stream.

Return value

Returns the sample number associated with the end of a stream, or, if an error occurs, one less than the first sample or one less than the stream length.

Remarks

The sample number returned is not a valid sample number for reading data. It represents the end of the file. (The end of the file is equal to the start of the file plus its length.)

The AVIStreamEnd macro is defined as follows:



#define AVIStreamEnd(pavi) \ 
    (AVIStreamStart(pavi) + AVIStreamLength(pavi)) 


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

 

 

Build date: 10/27/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.