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


STDAPI_(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]

Header

Vfw.h

Library

Vfw32.lib

DLL

Avifil32.dll

See also

AVIFile Functions and Macros
AVIFile Functions

 

 

Show: