AVIStreamLength

The AVIStreamLength function returns the length of the stream.

STDAPI_(LONG) AVIStreamLength(
  PAVISTREAM pavi  
);
 

Parameters

pavi
Handle of an open stream.

Return Values

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

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.
  Import Library: Use vfw32.lib.

See Also

AVIFile Functions and Macros Overview, AVIFile Functions