Windows Media Player SDK banner art
PreviousNext

Player6.OpenState

This property retrieves the state of the content source.

Syntax

MediaPlayer.OpenState

Possible Values

This property is a read-only Long containing one of the following values.

Value Visual Basic constant Description
0 nsClosed Content file is closed.
1 nsLoadingASX Loading a Windows Media metafile.
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.

Remarks

Retrieve this property to determine the status of a request to open a clip.

If the value of the SendOpenStateChangeEvents property is true, the Windows Media Player control fires an OpenStateChange event each time the OpenState property changes.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.