AVIStreamLength function

The AVIStreamLength function returns the length of the stream.

Syntax


STDAPI_(LONG) AVIStreamLength(
   PAVISTREAM pavi
);

Parameters

pavi

Handle to an open stream.

Return value

Returns the stream's length, in samples, if successful or -1 otherwise.

The argument pavi is a pointer to an IAVIStream interface.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

Library

Vfw32.lib

DLL

Avifil32.dll

See also

AVIFile Functions and Macros
AVIFile Functions

 

 

Show: