Initializing the Object Store-based Registry
To initialize the registry, call OEMIoControl with IOCTL_HAL_GETREGSECUREKEYS.
To initialize an object store-based registry
Load Default.fdf from the ROMFILES section of Config.bib.
Delete any existing registry data before starting.
Replace Default.fdf data if you support pReadRegistryFromOEM and the registry data is available.
Loop calling pReadRegistryFromOEM until all the data is returned. Data is stored by calling pWriteRegistryToOEM when RegFlushKey is called. If retrieving the data fails, clean the registry and restore Default.fdf.
Restore the registry with the file contents of Restore.fdf by calling RegRestoreFile. If this fails to restore, clean the registry and restore Default.fdf.
Retry the OEM if pReadRegistryFromOEM is set. If this fails to restore the registry then clean the registry and restore Default.fdf.
Call the OEM through OEMIoControl with the IOCTL IOCTL_HAL_INITREGISTRY.
See Also
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.