1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

reg: Add REG_QWORD support to 'add'.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2022-06-24 00:21:25 +03:00 committed by Alexandre Julliard
parent 50aaedffc9
commit 4e39188c63
54 changed files with 765 additions and 53 deletions

View file

@ -17183,7 +17183,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15985,7 +15985,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15918,7 +15918,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15958,6 +15958,56 @@ msgstr ""
"\n"
#: programs/reg/reg.rc:67
#, fuzzy
#| msgid ""
#| "REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/"
#| "f]\n"
#| "\n"
#| " Adds a key to the registry or adds a new value to a given registry "
#| "key.\n"
#| "\n"
#| " <key>\n"
#| " The registry key to add or, if either [/v] or [/ve] is specified,\n"
#| " the key in which to add the new registry data.\n"
#| "\n"
#| " Format: ROOT\\Subkey\n"
#| "\n"
#| " ROOT: A predefined registry key. This must be one of the following:\n"
#| "\n"
#| " HKEY_LOCAL_MACHINE | HKLM\n"
#| " HKEY_CURRENT_USER | HKCU\n"
#| " HKEY_CLASSES_ROOT | HKCR\n"
#| " HKEY_USERS | HKU\n"
#| " HKEY_CURRENT_CONFIG | HKCC\n"
#| "\n"
#| " Subkey: The full path to a registry key under a given ROOT key.\n"
#| "\n"
#| " /v <value_name>\n"
#| " The name of the registry value to add.\n"
#| "\n"
#| " /ve\n"
#| " Add an unnamed registry value. This option modifies the (Default)\n"
#| " registry value.\n"
#| "\n"
#| " /t <type>\n"
#| " The type of data to add to the registry. If [/t] is specified,\n"
#| " <type> must be one of the following:\n"
#| "\n"
#| " REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
#| " REG_DWORD | REG_BINARY | REG_NONE\n"
#| "\n"
#| " If [/t] is not specified, the default data type is REG_SZ.\n"
#| "\n"
#| " /s <separator>\n"
#| " The character used to separate strings in REG_MULTI_SZ data.\n"
#| " If [/s] is not specified, the default separator is \\0.\n"
#| "\n"
#| " /d <data>\n"
#| " The data to add to the new registry value.\n"
#| "\n"
#| " /f\n"
#| " Modify the registry without prompting for confirmation.\n"
#| "\n"
msgid ""
"REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/f]\n"
"\n"
@ -15991,7 +16041,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -16684,7 +16684,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -17143,7 +17143,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15928,6 +15928,56 @@ msgstr ""
"\n"
#: programs/reg/reg.rc:67
#, fuzzy
#| msgid ""
#| "REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/"
#| "f]\n"
#| "\n"
#| " Adds a key to the registry or adds a new value to a given registry "
#| "key.\n"
#| "\n"
#| " <key>\n"
#| " The registry key to add or, if either [/v] or [/ve] is specified,\n"
#| " the key in which to add the new registry data.\n"
#| "\n"
#| " Format: ROOT\\Subkey\n"
#| "\n"
#| " ROOT: A predefined registry key. This must be one of the following:\n"
#| "\n"
#| " HKEY_LOCAL_MACHINE | HKLM\n"
#| " HKEY_CURRENT_USER | HKCU\n"
#| " HKEY_CLASSES_ROOT | HKCR\n"
#| " HKEY_USERS | HKU\n"
#| " HKEY_CURRENT_CONFIG | HKCC\n"
#| "\n"
#| " Subkey: The full path to a registry key under a given ROOT key.\n"
#| "\n"
#| " /v <value_name>\n"
#| " The name of the registry value to add.\n"
#| "\n"
#| " /ve\n"
#| " Add an unnamed registry value. This option modifies the (Default)\n"
#| " registry value.\n"
#| "\n"
#| " /t <type>\n"
#| " The type of data to add to the registry. If [/t] is specified,\n"
#| " <type> must be one of the following:\n"
#| "\n"
#| " REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
#| " REG_DWORD | REG_BINARY | REG_NONE\n"
#| "\n"
#| " If [/t] is not specified, the default data type is REG_SZ.\n"
#| "\n"
#| " /s <separator>\n"
#| " The character used to separate strings in REG_MULTI_SZ data.\n"
#| " If [/s] is not specified, the default separator is \\0.\n"
#| "\n"
#| " /d <data>\n"
#| " The data to add to the new registry value.\n"
#| "\n"
#| " /f\n"
#| " Modify the registry without prompting for confirmation.\n"
#| "\n"
msgid ""
"REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/f]\n"
"\n"
@ -15961,7 +16011,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15636,7 +15636,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15877,7 +15877,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"
@ -15924,7 +15924,7 @@ msgstr ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15877,7 +15877,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"
@ -15924,7 +15924,7 @@ msgstr ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -16242,7 +16242,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -16554,7 +16554,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15816,7 +15816,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15819,6 +15819,56 @@ msgstr ""
"\n"
#: programs/reg/reg.rc:67
#, fuzzy
#| msgid ""
#| "REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/"
#| "f]\n"
#| "\n"
#| " Adds a key to the registry or adds a new value to a given registry "
#| "key.\n"
#| "\n"
#| " <key>\n"
#| " The registry key to add or, if either [/v] or [/ve] is specified,\n"
#| " the key in which to add the new registry data.\n"
#| "\n"
#| " Format: ROOT\\Subkey\n"
#| "\n"
#| " ROOT: A predefined registry key. This must be one of the following:\n"
#| "\n"
#| " HKEY_LOCAL_MACHINE | HKLM\n"
#| " HKEY_CURRENT_USER | HKCU\n"
#| " HKEY_CLASSES_ROOT | HKCR\n"
#| " HKEY_USERS | HKU\n"
#| " HKEY_CURRENT_CONFIG | HKCC\n"
#| "\n"
#| " Subkey: The full path to a registry key under a given ROOT key.\n"
#| "\n"
#| " /v <value_name>\n"
#| " The name of the registry value to add.\n"
#| "\n"
#| " /ve\n"
#| " Add an unnamed registry value. This option modifies the (Default)\n"
#| " registry value.\n"
#| "\n"
#| " /t <type>\n"
#| " The type of data to add to the registry. If [/t] is specified,\n"
#| " <type> must be one of the following:\n"
#| "\n"
#| " REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
#| " REG_DWORD | REG_BINARY | REG_NONE\n"
#| "\n"
#| " If [/t] is not specified, the default data type is REG_SZ.\n"
#| "\n"
#| " /s <separator>\n"
#| " The character used to separate strings in REG_MULTI_SZ data.\n"
#| " If [/s] is not specified, the default separator is \\0.\n"
#| "\n"
#| " /d <data>\n"
#| " The data to add to the new registry value.\n"
#| "\n"
#| " /f\n"
#| " Modify the registry without prompting for confirmation.\n"
#| "\n"
msgid ""
"REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/f]\n"
"\n"
@ -15852,7 +15902,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -16561,6 +16561,56 @@ msgstr ""
"\n"
#: programs/reg/reg.rc:67
#, fuzzy
#| msgid ""
#| "REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/"
#| "f]\n"
#| "\n"
#| " Adds a key to the registry or adds a new value to a given registry "
#| "key.\n"
#| "\n"
#| " <key>\n"
#| " The registry key to add or, if either [/v] or [/ve] is specified,\n"
#| " the key in which to add the new registry data.\n"
#| "\n"
#| " Format: ROOT\\Subkey\n"
#| "\n"
#| " ROOT: A predefined registry key. This must be one of the following:\n"
#| "\n"
#| " HKEY_LOCAL_MACHINE | HKLM\n"
#| " HKEY_CURRENT_USER | HKCU\n"
#| " HKEY_CLASSES_ROOT | HKCR\n"
#| " HKEY_USERS | HKU\n"
#| " HKEY_CURRENT_CONFIG | HKCC\n"
#| "\n"
#| " Subkey: The full path to a registry key under a given ROOT key.\n"
#| "\n"
#| " /v <value_name>\n"
#| " The name of the registry value to add.\n"
#| "\n"
#| " /ve\n"
#| " Add an unnamed registry value. This option modifies the (Default)\n"
#| " registry value.\n"
#| "\n"
#| " /t <type>\n"
#| " The type of data to add to the registry. If [/t] is specified,\n"
#| " <type> must be one of the following:\n"
#| "\n"
#| " REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
#| " REG_DWORD | REG_BINARY | REG_NONE\n"
#| "\n"
#| " If [/t] is not specified, the default data type is REG_SZ.\n"
#| "\n"
#| " /s <separator>\n"
#| " The character used to separate strings in REG_MULTI_SZ data.\n"
#| " If [/s] is not specified, the default separator is \\0.\n"
#| "\n"
#| " /d <data>\n"
#| " The data to add to the new registry value.\n"
#| "\n"
#| " /f\n"
#| " Modify the registry without prompting for confirmation.\n"
#| "\n"
msgid ""
"REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/f]\n"
"\n"
@ -16594,7 +16644,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -16662,7 +16662,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15332,7 +15332,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -16643,7 +16643,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -17135,7 +17135,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -17218,7 +17218,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15861,6 +15861,56 @@ msgstr ""
"\n"
#: programs/reg/reg.rc:67
#, fuzzy
#| msgid ""
#| "REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/"
#| "f]\n"
#| "\n"
#| " Adds a key to the registry or adds a new value to a given registry "
#| "key.\n"
#| "\n"
#| " <key>\n"
#| " The registry key to add or, if either [/v] or [/ve] is specified,\n"
#| " the key in which to add the new registry data.\n"
#| "\n"
#| " Format: ROOT\\Subkey\n"
#| "\n"
#| " ROOT: A predefined registry key. This must be one of the following:\n"
#| "\n"
#| " HKEY_LOCAL_MACHINE | HKLM\n"
#| " HKEY_CURRENT_USER | HKCU\n"
#| " HKEY_CLASSES_ROOT | HKCR\n"
#| " HKEY_USERS | HKU\n"
#| " HKEY_CURRENT_CONFIG | HKCC\n"
#| "\n"
#| " Subkey: The full path to a registry key under a given ROOT key.\n"
#| "\n"
#| " /v <value_name>\n"
#| " The name of the registry value to add.\n"
#| "\n"
#| " /ve\n"
#| " Add an unnamed registry value. This option modifies the (Default)\n"
#| " registry value.\n"
#| "\n"
#| " /t <type>\n"
#| " The type of data to add to the registry. If [/t] is specified,\n"
#| " <type> must be one of the following:\n"
#| "\n"
#| " REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
#| " REG_DWORD | REG_BINARY | REG_NONE\n"
#| "\n"
#| " If [/t] is not specified, the default data type is REG_SZ.\n"
#| "\n"
#| " /s <separator>\n"
#| " The character used to separate strings in REG_MULTI_SZ data.\n"
#| " If [/s] is not specified, the default separator is \\0.\n"
#| "\n"
#| " /d <data>\n"
#| " The data to add to the new registry value.\n"
#| "\n"
#| " /f\n"
#| " Modify the registry without prompting for confirmation.\n"
#| "\n"
msgid ""
"REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/f]\n"
"\n"
@ -15894,7 +15944,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15795,6 +15795,56 @@ msgstr ""
"\n"
#: programs/reg/reg.rc:67
#, fuzzy
#| msgid ""
#| "REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/"
#| "f]\n"
#| "\n"
#| " Adds a key to the registry or adds a new value to a given registry "
#| "key.\n"
#| "\n"
#| " <key>\n"
#| " The registry key to add or, if either [/v] or [/ve] is specified,\n"
#| " the key in which to add the new registry data.\n"
#| "\n"
#| " Format: ROOT\\Subkey\n"
#| "\n"
#| " ROOT: A predefined registry key. This must be one of the following:\n"
#| "\n"
#| " HKEY_LOCAL_MACHINE | HKLM\n"
#| " HKEY_CURRENT_USER | HKCU\n"
#| " HKEY_CLASSES_ROOT | HKCR\n"
#| " HKEY_USERS | HKU\n"
#| " HKEY_CURRENT_CONFIG | HKCC\n"
#| "\n"
#| " Subkey: The full path to a registry key under a given ROOT key.\n"
#| "\n"
#| " /v <value_name>\n"
#| " The name of the registry value to add.\n"
#| "\n"
#| " /ve\n"
#| " Add an unnamed registry value. This option modifies the (Default)\n"
#| " registry value.\n"
#| "\n"
#| " /t <type>\n"
#| " The type of data to add to the registry. If [/t] is specified,\n"
#| " <type> must be one of the following:\n"
#| "\n"
#| " REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
#| " REG_DWORD | REG_BINARY | REG_NONE\n"
#| "\n"
#| " If [/t] is not specified, the default data type is REG_SZ.\n"
#| "\n"
#| " /s <separator>\n"
#| " The character used to separate strings in REG_MULTI_SZ data.\n"
#| " If [/s] is not specified, the default separator is \\0.\n"
#| "\n"
#| " /d <data>\n"
#| " The data to add to the new registry value.\n"
#| "\n"
#| " /f\n"
#| " Modify the registry without prompting for confirmation.\n"
#| "\n"
msgid ""
"REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/f]\n"
"\n"
@ -15828,7 +15878,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15847,6 +15847,56 @@ msgstr ""
"\n"
#: programs/reg/reg.rc:67
#, fuzzy
#| msgid ""
#| "REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/"
#| "f]\n"
#| "\n"
#| " Adds a key to the registry or adds a new value to a given registry "
#| "key.\n"
#| "\n"
#| " <key>\n"
#| " The registry key to add or, if either [/v] or [/ve] is specified,\n"
#| " the key in which to add the new registry data.\n"
#| "\n"
#| " Format: ROOT\\Subkey\n"
#| "\n"
#| " ROOT: A predefined registry key. This must be one of the following:\n"
#| "\n"
#| " HKEY_LOCAL_MACHINE | HKLM\n"
#| " HKEY_CURRENT_USER | HKCU\n"
#| " HKEY_CLASSES_ROOT | HKCR\n"
#| " HKEY_USERS | HKU\n"
#| " HKEY_CURRENT_CONFIG | HKCC\n"
#| "\n"
#| " Subkey: The full path to a registry key under a given ROOT key.\n"
#| "\n"
#| " /v <value_name>\n"
#| " The name of the registry value to add.\n"
#| "\n"
#| " /ve\n"
#| " Add an unnamed registry value. This option modifies the (Default)\n"
#| " registry value.\n"
#| "\n"
#| " /t <type>\n"
#| " The type of data to add to the registry. If [/t] is specified,\n"
#| " <type> must be one of the following:\n"
#| "\n"
#| " REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
#| " REG_DWORD | REG_BINARY | REG_NONE\n"
#| "\n"
#| " If [/t] is not specified, the default data type is REG_SZ.\n"
#| "\n"
#| " /s <separator>\n"
#| " The character used to separate strings in REG_MULTI_SZ data.\n"
#| " If [/s] is not specified, the default separator is \\0.\n"
#| "\n"
#| " /d <data>\n"
#| " The data to add to the new registry value.\n"
#| "\n"
#| " /f\n"
#| " Modify the registry without prompting for confirmation.\n"
#| "\n"
msgid ""
"REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/f]\n"
"\n"
@ -15880,7 +15930,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15331,7 +15331,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -16681,7 +16681,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15915,6 +15915,56 @@ msgstr ""
"\n"
#: programs/reg/reg.rc:67
#, fuzzy
#| msgid ""
#| "REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/"
#| "f]\n"
#| "\n"
#| " Adds a key to the registry or adds a new value to a given registry "
#| "key.\n"
#| "\n"
#| " <key>\n"
#| " The registry key to add or, if either [/v] or [/ve] is specified,\n"
#| " the key in which to add the new registry data.\n"
#| "\n"
#| " Format: ROOT\\Subkey\n"
#| "\n"
#| " ROOT: A predefined registry key. This must be one of the following:\n"
#| "\n"
#| " HKEY_LOCAL_MACHINE | HKLM\n"
#| " HKEY_CURRENT_USER | HKCU\n"
#| " HKEY_CLASSES_ROOT | HKCR\n"
#| " HKEY_USERS | HKU\n"
#| " HKEY_CURRENT_CONFIG | HKCC\n"
#| "\n"
#| " Subkey: The full path to a registry key under a given ROOT key.\n"
#| "\n"
#| " /v <value_name>\n"
#| " The name of the registry value to add.\n"
#| "\n"
#| " /ve\n"
#| " Add an unnamed registry value. This option modifies the (Default)\n"
#| " registry value.\n"
#| "\n"
#| " /t <type>\n"
#| " The type of data to add to the registry. If [/t] is specified,\n"
#| " <type> must be one of the following:\n"
#| "\n"
#| " REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
#| " REG_DWORD | REG_BINARY | REG_NONE\n"
#| "\n"
#| " If [/t] is not specified, the default data type is REG_SZ.\n"
#| "\n"
#| " /s <separator>\n"
#| " The character used to separate strings in REG_MULTI_SZ data.\n"
#| " If [/s] is not specified, the default separator is \\0.\n"
#| "\n"
#| " /d <data>\n"
#| " The data to add to the new registry value.\n"
#| "\n"
#| " /f\n"
#| " Modify the registry without prompting for confirmation.\n"
#| "\n"
msgid ""
"REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/f]\n"
"\n"
@ -15948,7 +15998,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15317,7 +15317,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15317,7 +15317,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15978,6 +15978,56 @@ msgstr ""
"\n"
#: programs/reg/reg.rc:67
#, fuzzy
#| msgid ""
#| "REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/"
#| "f]\n"
#| "\n"
#| " Adds a key to the registry or adds a new value to a given registry "
#| "key.\n"
#| "\n"
#| " <key>\n"
#| " The registry key to add or, if either [/v] or [/ve] is specified,\n"
#| " the key in which to add the new registry data.\n"
#| "\n"
#| " Format: ROOT\\Subkey\n"
#| "\n"
#| " ROOT: A predefined registry key. This must be one of the following:\n"
#| "\n"
#| " HKEY_LOCAL_MACHINE | HKLM\n"
#| " HKEY_CURRENT_USER | HKCU\n"
#| " HKEY_CLASSES_ROOT | HKCR\n"
#| " HKEY_USERS | HKU\n"
#| " HKEY_CURRENT_CONFIG | HKCC\n"
#| "\n"
#| " Subkey: The full path to a registry key under a given ROOT key.\n"
#| "\n"
#| " /v <value_name>\n"
#| " The name of the registry value to add.\n"
#| "\n"
#| " /ve\n"
#| " Add an unnamed registry value. This option modifies the (Default)\n"
#| " registry value.\n"
#| "\n"
#| " /t <type>\n"
#| " The type of data to add to the registry. If [/t] is specified,\n"
#| " <type> must be one of the following:\n"
#| "\n"
#| " REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
#| " REG_DWORD | REG_BINARY | REG_NONE\n"
#| "\n"
#| " If [/t] is not specified, the default data type is REG_SZ.\n"
#| "\n"
#| " /s <separator>\n"
#| " The character used to separate strings in REG_MULTI_SZ data.\n"
#| " If [/s] is not specified, the default separator is \\0.\n"
#| "\n"
#| " /d <data>\n"
#| " The data to add to the new registry value.\n"
#| "\n"
#| " /f\n"
#| " Modify the registry without prompting for confirmation.\n"
#| "\n"
msgid ""
"REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/f]\n"
"\n"
@ -16011,7 +16061,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -16033,6 +16033,56 @@ msgstr ""
"\n"
#: programs/reg/reg.rc:67
#, fuzzy
#| msgid ""
#| "REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/"
#| "f]\n"
#| "\n"
#| " Adds a key to the registry or adds a new value to a given registry "
#| "key.\n"
#| "\n"
#| " <key>\n"
#| " The registry key to add or, if either [/v] or [/ve] is specified,\n"
#| " the key in which to add the new registry data.\n"
#| "\n"
#| " Format: ROOT\\Subkey\n"
#| "\n"
#| " ROOT: A predefined registry key. This must be one of the following:\n"
#| "\n"
#| " HKEY_LOCAL_MACHINE | HKLM\n"
#| " HKEY_CURRENT_USER | HKCU\n"
#| " HKEY_CLASSES_ROOT | HKCR\n"
#| " HKEY_USERS | HKU\n"
#| " HKEY_CURRENT_CONFIG | HKCC\n"
#| "\n"
#| " Subkey: The full path to a registry key under a given ROOT key.\n"
#| "\n"
#| " /v <value_name>\n"
#| " The name of the registry value to add.\n"
#| "\n"
#| " /ve\n"
#| " Add an unnamed registry value. This option modifies the (Default)\n"
#| " registry value.\n"
#| "\n"
#| " /t <type>\n"
#| " The type of data to add to the registry. If [/t] is specified,\n"
#| " <type> must be one of the following:\n"
#| "\n"
#| " REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
#| " REG_DWORD | REG_BINARY | REG_NONE\n"
#| "\n"
#| " If [/t] is not specified, the default data type is REG_SZ.\n"
#| "\n"
#| " /s <separator>\n"
#| " The character used to separate strings in REG_MULTI_SZ data.\n"
#| " If [/s] is not specified, the default separator is \\0.\n"
#| "\n"
#| " /d <data>\n"
#| " The data to add to the new registry value.\n"
#| "\n"
#| " /f\n"
#| " Modify the registry without prompting for confirmation.\n"
#| "\n"
msgid ""
"REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/f]\n"
"\n"
@ -16066,7 +16116,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -16867,7 +16867,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15420,7 +15420,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -16927,7 +16927,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -16286,7 +16286,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15964,7 +15964,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -16412,7 +16412,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -17161,7 +17161,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -16493,7 +16493,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -16676,7 +16676,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -16817,7 +16817,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15245,7 +15245,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15317,7 +15317,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15919,7 +15919,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -16160,7 +16160,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -16167,7 +16167,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15788,7 +15788,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15224,7 +15224,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15651,6 +15651,56 @@ msgstr ""
"\n"
#: programs/reg/reg.rc:67
#, fuzzy
#| msgid ""
#| "REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/"
#| "f]\n"
#| "\n"
#| " Adds a key to the registry or adds a new value to a given registry "
#| "key.\n"
#| "\n"
#| " <key>\n"
#| " The registry key to add or, if either [/v] or [/ve] is specified,\n"
#| " the key in which to add the new registry data.\n"
#| "\n"
#| " Format: ROOT\\Subkey\n"
#| "\n"
#| " ROOT: A predefined registry key. This must be one of the following:\n"
#| "\n"
#| " HKEY_LOCAL_MACHINE | HKLM\n"
#| " HKEY_CURRENT_USER | HKCU\n"
#| " HKEY_CLASSES_ROOT | HKCR\n"
#| " HKEY_USERS | HKU\n"
#| " HKEY_CURRENT_CONFIG | HKCC\n"
#| "\n"
#| " Subkey: The full path to a registry key under a given ROOT key.\n"
#| "\n"
#| " /v <value_name>\n"
#| " The name of the registry value to add.\n"
#| "\n"
#| " /ve\n"
#| " Add an unnamed registry value. This option modifies the (Default)\n"
#| " registry value.\n"
#| "\n"
#| " /t <type>\n"
#| " The type of data to add to the registry. If [/t] is specified,\n"
#| " <type> must be one of the following:\n"
#| "\n"
#| " REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
#| " REG_DWORD | REG_BINARY | REG_NONE\n"
#| "\n"
#| " If [/t] is not specified, the default data type is REG_SZ.\n"
#| "\n"
#| " /s <separator>\n"
#| " The character used to separate strings in REG_MULTI_SZ data.\n"
#| " If [/s] is not specified, the default separator is \\0.\n"
#| "\n"
#| " /d <data>\n"
#| " The data to add to the new registry value.\n"
#| "\n"
#| " /f\n"
#| " Modify the registry without prompting for confirmation.\n"
#| "\n"
msgid ""
"REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/f]\n"
"\n"
@ -15684,7 +15734,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -15683,6 +15683,56 @@ msgstr ""
"\n"
#: programs/reg/reg.rc:67
#, fuzzy
#| msgid ""
#| "REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/"
#| "f]\n"
#| "\n"
#| " Adds a key to the registry or adds a new value to a given registry "
#| "key.\n"
#| "\n"
#| " <key>\n"
#| " The registry key to add or, if either [/v] or [/ve] is specified,\n"
#| " the key in which to add the new registry data.\n"
#| "\n"
#| " Format: ROOT\\Subkey\n"
#| "\n"
#| " ROOT: A predefined registry key. This must be one of the following:\n"
#| "\n"
#| " HKEY_LOCAL_MACHINE | HKLM\n"
#| " HKEY_CURRENT_USER | HKCU\n"
#| " HKEY_CLASSES_ROOT | HKCR\n"
#| " HKEY_USERS | HKU\n"
#| " HKEY_CURRENT_CONFIG | HKCC\n"
#| "\n"
#| " Subkey: The full path to a registry key under a given ROOT key.\n"
#| "\n"
#| " /v <value_name>\n"
#| " The name of the registry value to add.\n"
#| "\n"
#| " /ve\n"
#| " Add an unnamed registry value. This option modifies the (Default)\n"
#| " registry value.\n"
#| "\n"
#| " /t <type>\n"
#| " The type of data to add to the registry. If [/t] is specified,\n"
#| " <type> must be one of the following:\n"
#| "\n"
#| " REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
#| " REG_DWORD | REG_BINARY | REG_NONE\n"
#| "\n"
#| " If [/t] is not specified, the default data type is REG_SZ.\n"
#| "\n"
#| " /s <separator>\n"
#| " The character used to separate strings in REG_MULTI_SZ data.\n"
#| " If [/s] is not specified, the default separator is \\0.\n"
#| "\n"
#| " /d <data>\n"
#| " The data to add to the new registry value.\n"
#| "\n"
#| " /f\n"
#| " Modify the registry without prompting for confirmation.\n"
#| "\n"
msgid ""
"REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/f]\n"
"\n"
@ -15716,7 +15766,7 @@ msgid ""
" <type> must be one of the following:\n"
"\n"
" REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n"
" REG_DWORD | REG_BINARY | REG_NONE\n"
" REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n"
"\n"
" If [/t] is not specified, the default data type is REG_SZ.\n"
"\n"

View file

@ -84,6 +84,22 @@ static BOOL get_regdata(const WCHAR *data, DWORD reg_type, WCHAR separator,
*(DWORD *)*data_bytes = val;
break;
}
case REG_QWORD:
{
WCHAR *rest;
UINT64 val;
val = _wcstoui64(data, &rest, (towlower(data[1]) == 'x') ? 16 : 10);
if (*rest || (val == ~0ull && errno == ERANGE))
{
output_message(STRING_MISSING_NUMBER);
return FALSE;
}
*size_bytes = sizeof(val);
*data_bytes = malloc(*size_bytes);
*(UINT64 *)*data_bytes = val;
break;
}
case REG_BINARY:
{
BYTE hex0, hex1, *ptr;

View file

@ -46,6 +46,7 @@ const struct reg_type_rels type_rels[] =
{REG_DWORD, L"REG_DWORD"},
{REG_DWORD_LITTLE_ENDIAN, L"REG_DWORD_LITTLE_ENDIAN"},
{REG_DWORD_BIG_ENDIAN, L"REG_DWORD_BIG_ENDIAN"},
{REG_QWORD, L"REG_QWORD"},
{REG_MULTI_SZ, L"REG_MULTI_SZ"},
};

View file

@ -31,7 +31,7 @@ struct reg_type_rels {
const WCHAR *name;
};
extern const struct reg_type_rels type_rels[8];
extern const struct reg_type_rels type_rels[9];
void output_writeconsole(const WCHAR *str, DWORD wlen);
void WINAPIV output_message(unsigned int id, ...);

View file

@ -55,7 +55,7 @@ STRINGTABLE
\ The type of data to add to the registry. If [/t] is specified,\n\
\ <type> must be one of the following:\n\n\
\ REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n\
\ REG_DWORD | REG_BINARY | REG_NONE\n\n\
\ REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE\n\n\
\ If [/t] is not specified, the default data type is REG_SZ.\n\n\
\ /s <separator>\n\
\ The character used to separate strings in REG_MULTI_SZ data.\n\

View file

@ -764,6 +764,100 @@ static void test_reg_dword_big_endian(void)
delete_key(HKEY_CURRENT_USER, KEY_BASE, 0);
}
static void test_reg_qword(void)
{
UINT64 qword;
HKEY hkey;
DWORD r;
add_key(HKEY_CURRENT_USER, KEY_BASE, 0, &hkey);
run_reg_exe("reg add HKCU\\" KEY_BASE " /t REG_QWORD /f /d 0x123456789abcdef", &r);
ok(r == REG_EXIT_SUCCESS, "Unexpected exit code %ld.\n", r);
qword = 0x123456789abcdef;
verify_reg(hkey, "", REG_QWORD, &qword, sizeof(qword), 0);
run_reg_exe("reg add HKCU\\" KEY_BASE " /ve /t REG_QWORD /f", &r);
ok(r == REG_EXIT_SUCCESS, "Unexpected exit code %ld.\n", r);
qword = 0;
verify_reg(hkey, "", REG_QWORD, &qword, sizeof(qword), 0);
run_reg_exe("reg add HKCU\\" KEY_BASE " /v qword0 /t REG_QWORD /f /d", &r);
ok(r == REG_EXIT_FAILURE, "Unexpected exit code %lu.\n", r);
run_reg_exe("reg add HKCU\\" KEY_BASE " /v qword1 /t REG_QWORD /f", &r);
ok(r == REG_EXIT_SUCCESS, "Unexpected exit code %ld.\n", r);
qword = 0;
verify_reg(hkey, "qword1", REG_QWORD, &qword, sizeof(qword), 0);
run_reg_exe("reg add HKCU\\" KEY_BASE " /v qword2 /t REG_QWORD /d zzz /f", &r);
ok(r == REG_EXIT_FAILURE, "Unexpected exit code %lu.\n", r);
run_reg_exe("reg add HKCU\\" KEY_BASE " /v qword3 /t REG_QWORD /d deadbeef /f", &r);
ok(r == REG_EXIT_FAILURE, "Unexpected exit code %lu.\n", r);
run_reg_exe("reg add HKCU\\" KEY_BASE " /v qword4 /t REG_QWORD /d 123xyz /f", &r);
ok(r == REG_EXIT_FAILURE, "Unexpected exit code %lu.\n", r);
run_reg_exe("reg add HKCU\\" KEY_BASE " /v qword5 /t reg_qword /d 12345678 /f", &r);
ok(r == REG_EXIT_SUCCESS, "Unexpected exit code %ld.\n", r);
qword = 12345678;
verify_reg(hkey, "qword5", REG_QWORD, &qword, sizeof(qword), 0);
run_reg_exe("reg add HKCU\\" KEY_BASE " /v qword6 /t REG_QWORD /D 0123 /f", &r);
ok(r == REG_EXIT_SUCCESS, "Unexpected exit code %ld.\n", r);
qword = 123;
verify_reg(hkey, "qword6", REG_QWORD, &qword, sizeof(qword), 0);
run_reg_exe("reg add HKCU\\" KEY_BASE " /v qword7 /t reg_qword /d 0xabcdefg /f", &r);
ok(r == REG_EXIT_FAILURE, "got exit code %ld, expected 1\n", r);
run_reg_exe("reg add HKCU\\" KEY_BASE " /v qword8 /t REG_qword /d 0xdeadbeef /f", &r);
ok(r == REG_EXIT_SUCCESS, "got exit code %ld, expected 0\n", r);
qword = 0xdeadbeef;
verify_reg(hkey, "qword8", REG_QWORD, &qword, sizeof(qword), 0);
run_reg_exe("reg add HKCU\\" KEY_BASE " /t REG_QWORD /v qword9 /f /d -1", &r);
ok(r == REG_EXIT_SUCCESS, "got exit code %ld, expected 0\n", r);
qword = ~0ull;
verify_reg(hkey, "qword9", REG_QWORD, &qword, sizeof(qword), 0);
run_reg_exe("reg add HKCU\\" KEY_BASE " /t REG_QWORD /v qword10 /f /d -0x1", &r);
ok(r == REG_EXIT_FAILURE, "got exit code %lu, expected 1\n", r);
run_reg_exe("reg add HKCU\\" KEY_BASE " /v qword11 /t REG_qword /d 0x01ffffffffffffffff /f", &r);
ok(r == REG_EXIT_FAILURE, "got exit code %ld, expected 1\n", r);
run_reg_exe("reg add HKCU\\" KEY_BASE " /v qword12 /t REG_QWORD /d 0xffffffffffffffff /f", &r);
ok(r == REG_EXIT_SUCCESS, "got exit code %ld, expected 0\n", r);
qword = ~0ull;
verify_reg(hkey, "qword12", REG_QWORD, &qword, sizeof(qword), 0);
run_reg_exe("reg add HKCU\\" KEY_BASE " /v qword13 /t REG_QWORD /d 00x123 /f", &r);
ok(r == REG_EXIT_FAILURE, "got exit code %ld, expected 1\n", r);
run_reg_exe("reg add HKCU\\" KEY_BASE " /v qword14 /t REG_QWORD /d 0X123 /f", &r);
ok(r == REG_EXIT_SUCCESS, "got exit code %ld, expected 0\n", r);
qword = 0x123;
verify_reg(hkey, "qword14", REG_QWORD, &qword, sizeof(qword), 0);
run_reg_exe("reg add HKCU\\" KEY_BASE " /v qword15 /t REG_QWORD /d 18446744073709551616 /f", &r);
ok(r == REG_EXIT_FAILURE, "got exit code %lu, expected 1\n", r);
run_reg_exe("reg add HKCU\\" KEY_BASE " /v qword16 /t REG_QWORD /d 456 /f", &r);
ok(r == REG_EXIT_SUCCESS, "got exit code %ld, expected 0\n", r);
qword = 456;
verify_reg(hkey, "qword16", REG_QWORD, &qword, sizeof(qword), 0);
run_reg_exe("reg add HKCU\\" KEY_BASE " /v qword17 /t REG_QWORD /d 0x456 /f", &r);
ok(r == REG_EXIT_SUCCESS, "got exit code %ld, expected 0\n", r);
qword = 0x456;
verify_reg(hkey, "qword17", REG_QWORD, &qword, sizeof(qword), 0);
close_key(hkey);
delete_key(HKEY_CURRENT_USER, KEY_BASE, 0);
}
static void test_reg_multi_sz(void)
{
HKEY hkey;
@ -988,6 +1082,7 @@ START_TEST(add)
test_reg_binary();
test_reg_dword();
test_reg_dword_big_endian();
test_reg_qword();
test_reg_multi_sz();
/* Check if reg.exe is running with elevated privileges */