AVIStreamLengthTime

The AVIStreamLengthTime macro returns the length of a stream in time.

AVIStreamLengthTime(
  pavi  
);
 

Parameters

pavi
Handle of an open stream.

Return Values

Returns the time if successful or – 1 otherwise.

Remarks

The AVIStreamLengthTime macro is defined as follows:

#define AVIStreamLengthTime(pavi) \ 
    AVIStreamSampleToTime(pavi, AVIStreamLength(pavi)) 
 

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.

See Also

AVIFile Functions and Macros Overview, AVIFile Macros