'AVIFileAddRef function increments the reference count of an AVI file.
Private Declare Function AVIFileAddRef Lib "avifil32.dll" (ByVal pfile As Long) As Long
pfile Handle to an open AVI file.
'Returns the updated reference count for the file interface.
'The argument pfile is a pointer to an IAVIFile interface.