AVIStreamRelease

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.

STDAPI_(LONG) AVIStreamRelease(
  PAVISTREAM pavi  
);
 

Parameters

pavi
Handle of an open stream.

Return Values

Returns the current reference count of the stream. This 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