CurrentState

This property describes the playback file's current state.

Compatibility: ActiveMovie

[form.]object.CurrentState

Remarks

You cannot assign a value to this property. You can change it by calling the Stop, Run, or Pause method, and DirectShow notifies the application of the change by sending the StateChange event.

The amv settings are available only to C/C++ programmers; scripters and other programmers should use the numerical values.

Run-time access: read-only. Design-time access: not applicable.

Data Type: Long.

The following settings are valid for this property.

Setting Value Description
amvStopped 0 The Player is stopped.
amvPaused 1 The Player is paused.
amvRunning 2 The Player is playing the multimedia file.

Requirements

OS Versions: Windows CE 3.0 to Windows CE .NET 4.1.

See Also

Windows Media Player Properties | Compatibility Modes

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.