Share via


Disconnect

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This event occurs when the Windows Media Player control is disconnected from the server.

Compatibility: Windows Media Player

Syntax

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

Parameters

  • lResult
    Long value specifying the cause of the disconnection.

Remarks

A disconnection can be caused by a network problem, a problem with the server, or other factors.

Requirements

Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Windows Media Player Events

Concepts

Compatibility Modes