Returns the current value of the system CMOS clock as a TIMEVALUE value. This value may be used to synchronize the system time, for example.
BOOLEAN GetRtHardwareClock( TIMEVALUE *pHwClock );
pHwClock
TRUE
FALSE
E_BAD_ADDR 0x800f
pHwClock
value is not a valid pointer to writable memory.
E_NOT_CONFIGURED 0x0008
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 6.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |