![]() Private extern static void WinCEGetLocalTime(ref SYSTEMTIME st) Private extern static bool WinCESetSystemTime(ref SYSTEMTIME st) ![]() Private extern static void WinCEGetSystemTime(ref SYSTEMTIME st) Here is the implementation in .NET CF using C#: Here is how I set the system time at regular interval as a workaround:īOOL CeGetRawTime(ULONGLONG * pui64Millsec) īOOL CeGetRawTimeOffset(LONGLONG * pi64Offset) īOOL SetSystemTime(const SYSTEMTIME* lpSystemTime) I conducted a test at the samples and found out that the time is not changing for either ![]() The time zone is set for the time zone that participates in the day light saving and the registry () been set. It appeared to be fixed the issue of time drifting however the clock did not forward when the DST began even though I worked on a work around and it has been decided to set the date and time at regular interval with a background process. Than three samples of our embedded devices proved it. We have noticed that the system time is drifting ahead to a few seconds in days and minutes in a couple of weeks and the test conducted with more We have BSP developed for our embedded device by our vendo for my application running on Windows CE 6.0.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |