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 of an open AVI file.

Return Values

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

QuickInfo

  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.

See Also

AVIFile Functions and Macros Overview, AVIFile Functions