AVIStreamRelease function (vfw.h)

The AVIStreamRelease function decrements the reference count of an AVI stream interface handle, and closes the stream if the count reaches zero.

This function supersedes the obsolete AVIStreamClose function.

Syntax

ULONG AVIStreamRelease(
  PAVISTREAM pavi
);

Parameters

pavi

Handle to an open stream.

Return value

Returns the current reference count of the stream. This value should be used only for debugging purposes.

The argument pavi is a pointer to an IAVIStream interface.

Requirements

Requirement Value
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