Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: DVDNotify
*Next Topic: Error

EndOfStream 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.

Remarks

A value of zero indicates the clip completed successfully.

See Also

NewStream, Monitoring Stream Status and Network Reception, Error Handling


Top of Page Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.