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 indicating the state of the content source.
Compatibility:Windows Media Player
[ lState= ] MediaPlayer .OpenState
Parameters
Value | Visual Basic Constant | Description |
---|---|---|
0
|
nsClosed | Content file is closed. |
1
|
nsLoadingASX | Loading an Advanced Stream Redirector (ASX) file. |
2
|
nsLoadingNSC | Loading an .nsc station file. |
3
|
nsLocating | Locating the server. |
4
|
nsConnecting | Connecting to the server. |
5
|
nsOpening | Opening or listening for the stream. |
6
|
nsOpen | Content file is open. |
This property is read-only.
Remarks
Retrieve this property to determine the status of a request to open a clip.
If the value of the SendOpenStateChangeEventsproperty is true, Microsoft Windows Media Player control fires an OpenStateChangeevent each time the OpenStateproperty changes.
See Also
SendOpenStateChangeEvents, OpenStateChange, Monitoring Stream Status and Network Reception