日韩久久久精品,亚洲精品久久久久久久久久久,亚洲欧美一区二区三区国产精品 ,一区二区福利

HIVE Registry

系統 2905 0

HIVE registry is useful and easy to use feature, to enable it, we need first add the HIVE registry feature from CATALOG
into the OSDesign file. then add registry as following listed.

The following is the setting in my platform using FLASH to store the registry.

There're some difference in every version.
1. in CE5.0 and later, DDK_GetWindowInfo can't be called in the flash driver.
if it's called, the system crashed in CE5.0 due to a data abort, it can't read the values in CE6.
2. The registry settings in CE5 are the same as CE4.2.
But there're some difference with CE6, Please look at the comment in the following paragraph.

?


; @CESYSGEN IF FILESYS_FSREGHIVE
; HIVE BOOT SECTION ; this line is mandatory for every verion, it indicates the start of HIVE registry setting.

[HKEY_LOCAL_MACHINE\init\BootVars]
"SystemHive"=" \\norflash\\Registry\\system.hv " ; in CE6, it's a full path, but in CE4.2 and 5.0, norflash is not needed.
"DefaultUser"="default"
"Flags"=dword:3


[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NORFlash] ;block device driver to store registry
"Dll"="flash.dll"
"Order"=dword:0
"Prefix"="DSK"
"Ioctl"=dword:4
"Profile"="MSFlash"
"Flags"=dword:1000 ;must to set to this value
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"

?

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
"Name"="Ep93xx NOR Flash"
"Folder"="NORFlash" ; the value should be the same as the first word of "systemHive" in CE6
"AutoMount"=dword:1
"AutoPart"=dword:1
"AutoFormat"=dword:1

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
;"MountFlags"=dword:2 ;uses this setting in CE4.2
"EnableCache"=dword:0
"MountBootable"=dword:1 ;uses this setting in CE6

; END HIVE BOOT SECTION ; this line is mandatory for every verion, it indicates the END of HIVE registry setting.

; @CESYSGEN ENDIF FILESYS_FSREGHIVE


NOTE

HIVE registry can work in NOR flash, but can't work in HARD DISK in WINCE6.0.

HIVE is called after hard disk driver is loaded while the file system is still not mounted, so the directory "HARD DISK" still not appears, as a result, HIVE creates a directory named "hard disk", and stores the registry to the directory.
but in nor flash, it does not occur.


本文來自CSDN博客,轉載請標明出處: http://blog.csdn.net/Vichard/archive/2009/08/29/4497671.aspx

HIVE Registry


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 宜兴市| 丽江市| 日照市| 江津市| 敦煌市| 江孜县| 吉木乃县| 潢川县| 成安县| 满洲里市| 昌都县| 益阳市| 庐江县| 岢岚县| 洱源县| 东兴市| 东乡| 沁阳市| 台南市| 浑源县| 宜城市| 镇坪县| 司法| 横峰县| 黄冈市| 台前县| 道孚县| 沧源| 东台市| 巴东县| 剑阁县| 宜昌市| 宜章县| 抚州市| 广德县| 宁夏| 临朐县| 普陀区| 灵武市| 玉龙| 镇远县|