AVIFileRelease function

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.

Syntax

ULONG AVIFileRelease(
  PAVIFILE pfile
);

Parameters

pfile

Handle to an open AVI file.

Return Value

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

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h
Library Vfw32.lib
DLL Avifil32.dll

See Also

AVIFile Functions

AVIFile Functions and Macros