AVIStreamLength function (vfw.h)

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

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
Library Vfw32.lib
DLL Avifil32.dll

See also

AVIFile Functions

AVIFile Functions and Macros