Freigeben über


PlayState (Windows CE 5.0)

Send Feedback

This property contains the state of the Windows Media Player operation. This property is read-only.

Compatibility: Windows Media Player

[lState= ] MediaPlayer.PlayState

Parameters

  • lState
    Long value indicating the play state. The following table shows the possible values.
    Value Visual Basic constant Description
    0 MpStopped Playback is stopped.
    1 MpPaused Playback is paused.
    2 MpPlaying Stream is playing.
    3 MpWaiting Waiting for stream to begin.
    4 MpScanForward Stream is scanning forward.
    5 MpScanReverse Stream is scanning in reverse.
    6 MpSkipForward Skipping to next.
    7 MpSkipReverse Skipping to previous.
    8 MpClosed Stream is not open.

Remarks

Retrieve this property to determine the status of an open clip.

Checking this property from a script after an asynchronous operation has been started will produce erratic results until the asynchronous operation has been completed.

The asynchronous operation will be complete when the ReadyState property equals 4.

If the value of the SendPlayStateChangeEvents property is true, Windows Media Player control fires a PlayStateChange event each time the PlayState property changes.

Requirements

OS Versions: Windows CE 3.0 and later.

See Also

Windows Media Player Properties | Compatibility Modes | Monitoring Stream Status and Network Reception | PlayStateChange | SendPlayStateChangeEvents

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.