Export (0) Print
Expand All

AVIStreamLength

The AVIStreamLength function returns the length of the stream.

STDAPI_(LONG) AVIStreamLength(
  PAVISTREAM pavi  
);

Parameters

pavi

Handle to an open stream.

Return Values

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

The argument pavi is a pointer to an IAVIStream interface.

Requirements

  Windows NT/2000/XP: Included in Windows NT 3.1 and later.
  Windows 95/98/Me: Included in Windows 95 and later.
  Header: Declared in Vfw.h.
  Library: Use Vfw32.lib.

See Also

AVIFile Functions and Macros, AVIFile Functions

Show:
© 2014 Microsoft