Indicates a client stopped playing a file.
Syntax
NSUnicastMgr_OnClientStop( datetime, status, clientid, filename )
Parameters
datetime
A Date value indicating the time the event occurred, expressed in Greenwich Mean Time (GMT).
status
A Long value specifying the HRESULT passed back when this event is fired.
clientid
A Long value specifying the client ID.
filename
A String containing the name of the title the client stopped playing.
Remarks
This event is called whenever a client (using the NetShow Player or Client control) stops playing a title. To receive notification of this event, the ClientEvents property must first be set to TRUE.
Example
Sub NSUnicastMgr_OnClientStop(datetime, status, clientid, filename)
MsgBox( "client " & clientid " stopped playing " & filename )
End Sub
' MediaPlayer object on next line is instance of Microsoft Media Player
MediaPlayer.FileName = "mms://LocalHost/sample.asf"
MediaPlayer.Play
' event at next line opens message box
MediaPlayer.Stop
See Also
OnClientConnect, OnClientDisconnect, OnClientPlay, OnClientStride
© 1996-1998 Microsoft Corporation. All rights reserved.