RegSaveCE
- Last UpdatedOct 29, 2026
- 1 minute read
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 |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
RegSaveCE |
System Info |
Synchronous |
No |
Not supported |
Supported |
Not supported |
Not supported |
Not supported |
Syntax
RegSaveCE ( )
This function takes no parameters.
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 Embedded 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 |