Microsoft Windows CE 3.0  

ReadyState

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Retrieves a value specifying the state of readiness of the Microsoft Windows Media Player control.

Compatibility:Windows Media Player, ActiveMovie

[
lState
= ] MediaPlayer.ReadyState

Parameters

lState
Long value specifying the state of readiness of the Windows Media Player control. It can have one of the following possible values.
Value Visual Basic Constant Description
0 mpReadyStateUninitialized The FileNameproperty 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.

This property is read-only.

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