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 to an open stream.
Return Values
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
** Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
** Windows 95/98/Me:** Included in Windows 95 and later.
** Header:** Declared in Vfw.h.
** Library:** Use Vfw32.lib.
See Also