AVIStreamInfo

The AVIStreamInfo function obtains stream header information.

STDAPI AVIStreamInfo(
  PAVISTREAM pavi,      
  AVISTREAMINFO * psi,  
  LONG lSize            
);

Parameters

pavi

Handle to an open stream.

psi

Pointer to a structure to contain the stream information.

lSize

Size, in bytes, of the structure used for psi.

Return Values

Returns zero if successful or an error 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.
**  Unicode:** Implemented as Unicode and ANSI versions on Windows NT/2000/XP.

See Also

AVIFile Functions and Macros, AVIFile Functions