OnStreamClose Event

This event is fired when a Stream is closed.

Syntax

NSChannelMgr_OnStreamClose( Source, StreamDesc, StreamID )

Parameters

Source

A String value indicating the source of the closed stream, for example: mms://netshow/sample.asf.

StreamDesc

A String value specifying the description of the closed stream.

StreamID

A Long value indicating the unique stream ID of the closed stream.

Example

Sub NSChannelMgr_OnStreamClose( Source, StreamDesc, StreamID )
  MsgBox StreamDesc & " at " & Source & " closed"
End Sub

See Also

Stream.Start, Stream.Stop, Streams.Open

© 1996-1998 Microsoft Corporation. All rights reserved.