Поделиться через


ReadyState (Windows Media Player) (Windows Embedded CE 6.0)

1/6/2010

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

Compatibility: Windows Media Player, ActiveMovie

Syntax

[ lState = ] MediaPlayer.ReadyState

Parameters

  • lState
    Long value specifying the state of readiness of the Windows Media Player control. The following table shows the possible values.

    Value Visual Basic constant Description

    0

    MpReadyStateUninitialized

    The FileName property has not been initialized.

    1

    MpReadyStateLoading

    Windows Media Player control is asynchronously loading a file.

    3

    MpReadyStateInteractive

    Windows Media Player control loaded a file, and downloaded enough data to play the file, but has not yet received all data.

    4

    MpReadyStateComplete

    All data has been downloaded.

Remarks

This property does not behave properly, and is provided for desktop compatibility only. ReadyState will always give a value of 4.

ActiveMovie compatibility mode is only supported through Windows CE .NET 4.1.

Requirements

Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Windows Media Player Properties

Concepts

Compatibility Modes