MFCLOCK_STATE Enumeration

Defines the state of a clock.

Syntax

typedef enum _MFCLOCK_STATE
{
    MFCLOCK_STATE_INVALID = 0,
    MFCLOCK_STATE_RUNNING = (MFCLOCK_STATE_INVALID+1),
    MFCLOCK_STATE_STOPPED = (MFCLOCK_STATE_RUNNING+1),
    MFCLOCK_STATE_PAUSED = (MFCLOCK_STATE_STOPPED+1)
} MFCLOCK_STATE;  

Constants

Constant Description
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

Header: Declared in mfidl.h.