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

HIVE Registry

系統(tǒng) 3188 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博客,轉(zhuǎn)載請標(biāo)明出處: http://blog.csdn.net/Vichard/archive/2009/08/29/4497671.aspx

HIVE Registry


更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯(lián)系: 360901061

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

【本文對您有幫助就好】

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

發(fā)表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 库尔勒市| 昭通市| 三河市| 礼泉县| 和顺县| 宁陵县| 阳江市| 洛宁县| 福建省| 宁都县| 图片| 波密县| 武穴市| 虹口区| 长阳| 平潭县| 垫江县| 柘荣县| 丰台区| 剑阁县| 江城| 乌兰浩特市| 津市市| 丹东市| 香河县| 深泽县| 阳新县| 万山特区| 区。| 喀喇| 黎平县| 马公市| 西充县| 武宣县| 易门县| 突泉县| 仁布县| 修文县| 武川县| 临邑县| 扬中市|