AVIStreamLengthTime

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

AVIStreamLengthTime(
  pavi  
);

Parameters

pavi

Handle to 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)) 

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.

See Also

AVIFile Functions and Macros, AVIFile Macros

Show: