Add support for save and restore reg.exe subcommands (#1565)
authorWilliam Kent <wjk011@gmail.com>
Mon, 19 Aug 2019 22:29:58 +0000 (18:29 -0400)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 19 Aug 2019 22:29:58 +0000 (00:29 +0200)
commitd9daaed32569901d53e78390f8b595468670eb51
treed99e596a1be0a93b35ed78c492afccb9526f7b72
parent3e3a7a63fd1e70ab8b94b3bf4f8155b0826c342b
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)
26 files changed:
base/applications/cmdutils/reg/lang/bg-BG.rc
base/applications/cmdutils/reg/lang/cs-CZ.rc
base/applications/cmdutils/reg/lang/da-DK.rc
base/applications/cmdutils/reg/lang/de-DE.rc
base/applications/cmdutils/reg/lang/en-US.rc
base/applications/cmdutils/reg/lang/es-ES.rc
base/applications/cmdutils/reg/lang/fr-FR.rc
base/applications/cmdutils/reg/lang/it-IT.rc
base/applications/cmdutils/reg/lang/ja-JP.rc
base/applications/cmdutils/reg/lang/ko-KR.rc
base/applications/cmdutils/reg/lang/lt-LT.rc
base/applications/cmdutils/reg/lang/nl-NL.rc
base/applications/cmdutils/reg/lang/no-NO.rc
base/applications/cmdutils/reg/lang/pl-PL.rc
base/applications/cmdutils/reg/lang/pt-PT.rc
base/applications/cmdutils/reg/lang/ro-RO.rc
base/applications/cmdutils/reg/lang/ru-RU.rc
base/applications/cmdutils/reg/lang/sl-SI.rc
base/applications/cmdutils/reg/lang/sq-AL.rc
base/applications/cmdutils/reg/lang/sv-SE.rc
base/applications/cmdutils/reg/lang/tr-TR.rc
base/applications/cmdutils/reg/lang/uk-UA.rc
base/applications/cmdutils/reg/lang/zh-CN.rc
base/applications/cmdutils/reg/lang/zh-TW.rc
base/applications/cmdutils/reg/reg.c
base/applications/cmdutils/reg/resource.h