AVIFileAddRef

The AVIFileAddRef function increments the reference count of an AVI file.

STDAPI_(ULONG) AVIFileAddRef(
  PAVIFILE pfile  
);

Parameters

pfile

Handle to an open AVI file.

Return Values

Returns the updated reference count for the file interface.

Remarks

The argument pfile is a pointer to an IAVIFile 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