Question

I searched a lot and could not find something useful. I am writing a config utility running on desktop PC and modifies registry settings of connected WINCE 6.0 device. It is achieved using RAPI/RAPI2 with activesync installation on desktop PC. Changed registry settings are no longer exists on device after rebooting. Googling guided to use "RegFlushKey" method. But I found noway to use this function from RAPI. Please suggest some way to make registry settings persist after reboot.

Was it helpful?

Solution

There is no specific RAPI function for RegFlushKey. Your best bet is to create a RAPI DLL with your own CeRegFlushKey call in it, push it down (CeCreateFile and CeWriteFile work well for this) and call CeRapiInvoke. Altrnately just write an app that makes the call, push it down and use CeCreateProcess to execute it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top