Share via


OpenStateChange (Windows Embedded CE 6.0)

1/6/2010

This event occurs when the open state changes.

Compatibility: Windows Media Player

Syntax

<SCRIPT FOR="MediaPlayer" EVENT="OpenStateChange(lOldState, lNewState)" 
LANGUAGE="JScript">
  //insert script commands//
</SCRIPT>

Parameters

  • lOldState
    Long value specifying the previous value of the OpenState property.
  • lNewState
    Long value indicating the new value of the OpenState property.

    This event occurs only if the value of the SendOpenStateChangeEvents property is true.

Requirements

Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Windows Media Player Events

Concepts

Compatibility Modes
Monitoring Stream Status and Network Reception