Share via


AVIStreamAddRef

The AVIStreamAddRef function increments the reference count of an AVI stream.

STDAPI_(LONG) AVIStreamAddRef(
  PAVISTREAM pavi  
);

Parameters

pavi

Handle to an open AVI stream.

Return Values

Returns the current reference count of the stream. This value should be used only for debugging purposes.

Remarks

The argument pavi contains 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