Partager via


CurrentState

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This property describes the playback file's current state. Run-time access for this property is read-only. Design time access is not applicable.

Compatibility: ActiveMovie

Syntax

[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.

The data type for this property is 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

Windows Embedded CE Windows CE 3.0 through Windows CE .NET 4.1

See Also

Reference

Windows Media Player Properties

Concepts

Compatibility Modes