Add support for save and restore reg.exe subcommands (#1565)

* [REG] Add save and restore help strings
* [REG] Implement REG SAVE
* [REG] Assert the BACKUP privilege
With this change applied, reg.exe correctly saves a key on Windows 10.
* [REG] Use RegSaveKeyEx()
* [REG] Implement REG RESTORE
* [REG] Close the process token
* [REG] Remove duplicate string
* [REG] Add missing comma
* [REG] Copy new strings into translation files
* [REG] Update STRING_USAGE translations
"Should be submitted to wine" (tm)
This commit is contained in:
William Kent 2019-08-19 18:29:58 -04:00 committed by Timo Kreuzer
parent 3e3a7a63fd
commit d9daaed325
26 changed files with 238 additions and 24 deletions

View file

@ -61,3 +61,5 @@
#define STRING_EXPORT_USAGE 136
#define STRING_INVALID_SYSTEM_KEY 137
#define STRING_OVERWRITE_FILE 138
#define STRING_SAVE_USAGE 139
#define STRING_RESTORE_USAGE 140