Microsoft DirectX 9.0

PlayState Property

The PlayState property retrieves the current state of the MSWebDVD object.

Syntax

[ iState = ] MSWebDVD.PlayState

Return Values

Returns an Integer value representing the current state of the DVD Navigator.

Return code Description
-2 Undefined
-1 Uninitialized
0 Stopped
1 Paused
2 Running

Remarks

This property is read-only with no default value.

The MSWebDVD object controls the DirectShow DVD Navigator filter, which does the actual work of DVD navigation. It is actually the state of the DVD Navigator that this property refers to. The DVD Navigator can be in one of several states, as described above. The PlayState property can be useful as a diagnostic tool, but generally there should be no reason for a scripting application to monitor the state of the DVD Navigator.