Windows Media Player SDK banner art
PreviousNext

Player6.EndOfStream

This event occurs when the end of the clip is reached.

Syntax

JScript

<SCRIPT FOR="MediaPlayer" 
        EVENT="EndOfStream(lResult)" 
        LANGUAGE="JScript">
    <!-- insert script commands -->
</SCRIPT>

VBScript

<SCRIPT LANGUAGE="VBScript">
Sub MediaPlayer_EndOfStream(lResult)
    <!-- insert script commands -->
End Sub
</SCRIPT>

Parameters

  lResult

Long value specifying the status of the clip after it has finished playing. A value of zero indicates the clip completed successfully.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.