All Forums
 Microsoft Windows CE
 eVC Application Development
 RegFlushKey() API OEM-Dependent
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

HBPayne

45 Posts

Posted - 26 Mar 2004 :  18:33:19  Show Profile  Email Poster
Since RegFlushKey is OEM-dependent, how is it implemented for BitsyX? Is the entire registry persisted?

ctacke

877 Posts

Posted - 26 Mar 2004 :  21:37:46  Show Profile  Email Poster
Yes, the entire registry is saved when any key is supplied to the RegFlushKey API.
Go to Top of Page

beitman

63 Posts

Posted - 27 Apr 2010 :  14:05:07  Show Profile  Email Poster
This topic is a little dated, so to update it a bit:

The original discussion dealt with an old method of persiting registry changes called the RAM based registry. In the RAM based registry, any call to RegFlushKey() caused the entire registry to be saved to flash ROM.

Eurotech currently supports the HIVE based registry. In the HIVE based registry, the registry is saved in multiple files in a file system, like FlashFx Disk. I recommend that to be safe, RegFlushKey() should be called twice; once with HKEY_LOCAL_MACHINE and again with HKEY_CURRENT_USER. This is what Microsoft does when the system suspends and what we do in \Windows\RegFlushKeys.exe.
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000