The AVIFileAddRef function increments the reference count of an AVI file.
STDAPI_(ULONG) AVIFileAddRef(
PAVIFILE pfile
);
Returns the updated reference count for the file interface.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
Import Library: Use vfw32.lib.
AVIFile Functions and Macros Overview, AVIFile Functions