문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top