Windows Media Services SDK banner art
PreviousNext

OnClientStride Event

Indicates a client began scanning a file (by using fast-forward or fast-rewind).

Syntax

NSUnicastMgr_OnClientStride( DateTime, Status, ClientID, FileName )

Parameters

DateTime

A Date value indicating when the event occurred, expressed in Greenwich mean time.

Status

A Long value specifying the HRESULT error code passed back when this event is fired.

ClientID

A Long value specifying the client ID.

FileName

A String value containing the name of the title that the client is scanning.

Remarks

This event is called whenever a client (using the Windows Media Player or client control) begins scanning a title. This event is never fired unless the ClientEvents property is set to True.

Example

Sub NSUnicastMgr_OnClientStride(DateTime, Status, ClientID, FileName)
  ' Message box opens if a client begins scanning
  MsgBox ("Client " & ClientID " is scanning through " & FileName & ".")
End Sub

See Also

OnClientConnect, OnClientDisconnect, OnClientPlay, OnClientStop

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.