Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MFCLOCK_STATE enumeration

Defines the state of a clock.

Syntax


typedef enum _MF_CLOCK_STATE { 
  MFCLOCK_STATE_INVALID,
  MFCLOCK_STATE_RUNNING,
  MFCLOCK_STATE_STOPPED,
  MFCLOCK_STATE_PAUSED
} MF_CLOCK_STATE;

Constants

MFCLOCK_STATE_INVALID

The clock is invalid. A clock might be invalid for several reasons. Some clocks return this state before the first start. This state can also occur if the underlying device is lost.

MFCLOCK_STATE_RUNNING

The clock is running. While the clock is running, the time advances at the clock's frequency and current rate.

MFCLOCK_STATE_STOPPED

The clock is stopped. While stopped, the clock reports a time of 0.

MFCLOCK_STATE_PAUSED

The clock is paused. While paused, the clock reports the time it was paused.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfidl.h

See also

Media Foundation Enumerations
IMFClock::GetState

 

 

Show:
© 2017 Microsoft