
Get Real Time Clock (RTC) time/date
GetSystemTime just goes into the Kernel and ends up calling (after switching
from the calling application into the kernel)OEMGetRealTime in the OAL. This
function goes directly to the hardware. It is totally hardware dependent and
every device may be different.
--
Steve Maillet
Entelechy Software Consulting
"Where Hardware Meets Software"
Home of the Windows CE Embedded FAQ
www.EntelechyConsulting.com
smaillet AT EntelechyConsulting DOT com
Quote:
> Hello,
> I was looking for a way to read the real time clock (rtc) from an
> embedded vc++ 3.0 application. I know how to use the GetSystemTime(), but
I
> would like to read the real time clock directly (as the System time is
> sometimes erroneous). Can this be done after the Windows CE kernel is
> booted? The CE version that we are using is 3.0. If anyone knows of any
> functions, or ways, to do this, I'd appreciate it.
> Thanks,
> Aaron