Resets a one-shot alarm after it has triggered.
BOOLEAN ResetRtAlarm( RTHANDLE hAlarm // handle for alarm event );
hAlarm
This operation is equivalent to invoking DeleteRtAlarm, then invoking CreateRtAlarm.
Because ResetRtAlarm may be invoked on single-shot alarms even if the alarm has gone off, it is not necessary to synchronize between an alarm reset and the expiration of the alarm time interval. Although this call is non-scheduling, it is not recommended for use by interrupt handlers.
TRUE
FALSE
E_TYPE 0x8002
Supersedes the knResetRtAlarmEvent call, which is deprecated.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 4.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |