Windows Media Services SDK banner art
PreviousNext

OnChannelStreamChange Event

Fired when a station has a new Stream object associated with it.

Syntax

NSChannelMgr_OnChannelStreamChange( Station, OldStream, NewStream )

Parameters

Station

A Channel object.

OldStream

The old stream object.

NewStream

The new stream object.

Remarks

If a stream did not exist before, a Null or Nothing value is returned.

Example

Sub NSChannelMgr_OnChannelStreamChange( MyStation, OldStream, NewStream )
   Str = "Station " & MyStation.Name & " stopped playing. "
   Str = Str & OldStream.Alias " and is now playing " & NewStream.Alias
   MsgBox (Str)
End Sub
PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.