CurrentState PropertyCurrentState Property*
*Contents  *Index  *Topic Contents
*Previous Topic: CurrentPosition Property
*Next Topic: DisplayBackColor Property

CurrentState Property

Describes the playback file's current state.

Syntax

[form.]object.CurrentState

Settings

SettingValueDescription
amvStopped0The player is stopped.
amvPaused1The player is paused.
amvRunning2The player is playing the multimedia file.

Data Type

Long

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.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.