Re: How to copy Hive based registry into CF?
- From: Nil <Nil@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Aug 2008 08:24:01 -0700
Thanks for reply Luca,
This is an API but i want it by registry setting. I have set
the registry as:
; HIVE BOOT SECTION
[$(PCI_BUS_ROOT)\Template\GenericIDE]
"IClass"=multi_sz:"{CDDC3621-3512-4b3f-BB6F-B4DD5E061795}"
"Prefix"="IDE"
"Dll"="atapi.dll"
"Order"=dword:2
"Class"=dword:01
"SubClass"=dword:01
"ConfigEntry"="GenericConfig" ; PCI configuration entry point
"Legacy"=dword:01
"Irq"=dword:0E ; 14
"SysIntr"=dword:00
"DMAAlignment"=dword:04
"SoftResetTimeout"=dword:03
"StatusPollCycles"=dword:100
"StatusPollsPerCycle"=dword:20
"StatusPollCyclePause"=dword:05
"RegisterStride"=dword:01
[$(PCI_BUS_ROOT)\Template\GenericIDE\Device0]
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"Prefix"="DSK"
"Dll"="atapi.dll"
"InterruptDriven"=dword:01 ; enable interrupt driven I/O
"DMA"=dword:00 ; disable DMA
"DoubleBufferSize"=dword:10000 ; 128 sector (65536 byte) double buffer
"DrqDataBlockSize"=dword:200 ; 1 sector (512 byte) DRQ data block
"WriteCache"=dword:01 ; enable on-disk write cache
"LookAhead"=dword:01 ; enable on-disk look-ahead
"DeviceId"=dword:00 ; device 0, i.e., primary master
"TransferMode"=dword:FF
IF PRJ_ENABLE_FSREGHIVE
; HIVE BOOT SECTION
[$(PCI_BUS_ROOT)\Template\GenericIDE]
"Flags"=dword:1000
[$(PCI_BUS_ROOT)\Template\GenericIDE\Device0]
"Flags"=dword:1000
; END HIVE BOOT SECTION
ENDIF PRJ_ENABLE_FSREGHIVE
; END HIVE BOOT SECTION
; HIVE BOOT SECTION
IF SYSGEN_FSREGHIVE
[HKEY_LOCAL_MACHINE\init\BootVars]
"SystemHive"="CFDisk\\System\\system.hv"
"ProfileDir"="CFDisk"
"Start DevMgr"=dword:1
ENDIF ;SYSGEN_FSREGHIVE
[HKEY_LOCAL_MACHINE\Drivers\Resources\IRQ]
"Flags"=dword:1000
[HKEY_LOCAL_MACHINE\Drivers\Resources\IO]
"Flags"=dword:1000
[$(PCI_BUS_ROOT)\Template\GenericIDE]
"Flags"=dword:1000
[$(PCI_BUS_ROOT)\Template\GenericIDE\Device0]
"Flags"=dword:1000
[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"Flags"=dword:1000
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
"MountFlags"=dword:2
; END HIVE BOOT SECTION
I have set SYSGEN_FSREGHIVE and PRJ_ENABLE_FSREGHIVE
but it not showing WINCE main Screen it hangs some point. It downloads
nk.bin file.
Is any settings missing or is any extra setting to
be require to copy Hive based Registry into CF or in SD card?
Best Regards,
Swapnil
"Luca Calligaris" wrote:
Take a look at this RegSaveKey API:.
http://msdn.microsoft.com/en-us/library/ms891466.aspx
--
Luca Calligaris
www.eurotech.it
"Nil" <Nil@xxxxxxxxxxxxxxxxxxxxxxxxx> ha scritto nel messaggio
news:DECB0E02-0F24-44B9-BD8C-368447156C30@xxxxxxxxxxxxxxxx
Hi all,
I am working on PXA270 based board in WINCE 5.0. I want to copy
Hive based Registry into Compact Flash or in SD Card.
Is anybody know how to do it?
Thanks in advance
Swapnil
- Follow-Ups:
- Re: How to copy Hive based registry into CF?
- From: Zebra
- Re: How to copy Hive based registry into CF?
- From: Bruce Eitman [eMVP]
- Re: How to copy Hive based registry into CF?
- From: Paul G. Tobey [eMVP]
- Re: How to copy Hive based registry into CF?
- References:
- How to copy Hive based registry into CF?
- From: Nil
- How to copy Hive based registry into CF?
- Prev by Date: Re: How to test my network cark is ok?
- Next by Date: Re: printf from application not displayed in target control
- Previous by thread: How to copy Hive based registry into CF?
- Next by thread: Re: How to copy Hive based registry into CF?
- Index(es):
Relevant Pages
|