Export (0) Print
Expand All

AVIFileRelease

The AVIFileRelease function decrements the reference count of an AVI file interface handle and closes the file if the count reaches zero.

This function supersedes the obsolete AVIFileClose function.

STDAPI_(ULONG) AVIFileRelease(
  PAVIFILE pfile  
);

Parameters

pfile

Handle to an open AVI file.

Return Values

Returns the reference count of the file. This return value should be used only for debugging purposes.

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

Show:
© 2015 Microsoft