Windows Media Services SDK banner art
PreviousNext

OnStreamStop Event

Fired when a Stream object is stopped.

Syntax

NSChannelMgr_OnStreamStop( Stream, Hresult )

Parameters

Stream

A Stream object.

Hresult

A Long value specifying an ActiveX HRESULT error code.

Example

Sub NSChannelMgr_OnStreamStop( Stream, Hresult )
  If hresult >= 0 Then
    MsgBox (Stream.Alias & " was stopped gracefully.")
  Else
    MsgBox (Stream.Alias & " failed to stop.")
  End If
End Sub

See Also

Stream.Start, Stream.Stop, Stream.Close

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.