OnStreamStop Event

This event is fired when a Stream object is stopped. A stream may be stopped, but not closed.

Syntax

NSChannelMgr_OnStreamStop( Stream, hRsult )

Parameters

Stream

A Stream object.

hResult

A Long value holding a Microsoft® ActiveX® HRESULT error code.

Example

Sub NSChannelMgr_OnStreamStart( Stream, hresult )
  If hresult Then
    MsgBox Stream.Desc & " stopped gracefully"
  Else
    MsgBox Stream.Desc & " is in trouble"
  End If
End Sub

See Also

Stream.Start, Stream.Stop, Stream.Close

© 1996-1998 Microsoft Corporation. All rights reserved.