RegSaveCE

Saves the Windows Embedded system registry. This function will only work if the save registry capability is enabled in the Windows Embedded device image.

Function Group Execution Windows Embedded Thin Client
RegSaveCE System Info Synchronous Not supported Supported Not supported

Syntax

RegSaveCE()

This function takes no paramters.

Returned value

0 Success.
−1 Failed to save HKEY_CLASSES_ROOT.
−2 Failed to save HKEY_CURRENT_USER.
−3 Failed to save HKEY_LOCAL_MACHINE.
−4 Failed to save HKEY_USERS.
−5 Function executed in NT platform.
Note: This function calls the RegFlushKey function from the Windows CE API. The implementation of this function is OEM dependent therefore it is not guaranteed to work with all the Windows Embedded devices.

Examples

Tag Name Expression
n/a RegSaveCE( ) // Returned value = 0 if successful