MFCLOCK_STATE enumeration (mfidl.h)
Defines the state of a clock.
Syntax
typedef enum _MFCLOCK_STATE {
MFCLOCK_STATE_INVALID = 0,
MFCLOCK_STATE_RUNNING,
MFCLOCK_STATE_STOPPED,
MFCLOCK_STATE_PAUSED
} MFCLOCK_STATE;
Constants
MFCLOCK_STATE_INVALID Value: 0 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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 [desktop apps | UWP apps] |
Header | mfidl.h |