AVIStreamLength function

The AVIStreamLength function returns the length of the stream.

Syntax

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]
Target Platform Windows
Header vfw.h
Library Vfw32.lib
DLL Avifil32.dll

See Also

AVIFile Functions

AVIFile Functions and Macros