Hugh McMaster
|
fa4268dcbc
|
reg: Update an error message.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-05-12 16:56:28 +02:00 |
|
Hugh McMaster
|
1dd785d149
|
reg: Avoid allocating zero bytes of memory when handling REG_BINARY data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-05-06 18:53:48 +02:00 |
|
Hugh McMaster
|
e2dfb0aff4
|
reg: Allow the 'reg_data' pointer to be NULL.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-05-06 18:53:48 +02:00 |
|
Hugh McMaster
|
cf1e6d3f3f
|
reg: Only prompt the user to overwrite registry data if the given key already exists and [/f] is not supplied.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-05-03 21:06:23 +02:00 |
|
Hugh McMaster
|
d433d1f122
|
reg: Fail if access is denied when adding registry data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-05-03 21:06:17 +02:00 |
|
Hugh McMaster
|
a0dc4d7ce3
|
reg: Add or modify the (Default) registry value if [/v] is not specified.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-05-03 21:06:09 +02:00 |
|
Hugh McMaster
|
2c73949a46
|
reg: Replace the 'reg_count' variable name with context-specific names.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-30 22:59:50 +02:00 |
|
Hugh McMaster
|
dedcd7c100
|
reg: Use correct error message if RegCreateKeyExW() fails.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-29 23:37:45 +02:00 |
|
Hugh McMaster
|
c809f94624
|
reg: Consistently use 'hkey' for HKEY variables.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-28 16:25:48 +02:00 |
|
Hugh McMaster
|
2b900e1c38
|
reg: Allow /reg:32 and /reg:64 switches to be passed via the command line.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44755
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-08 18:56:13 +02:00 |
|
Hugh McMaster
|
010cb1b405
|
reg: Print additional help messages when syntax is invalid.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-08 18:51:41 +02:00 |
|
Hugh McMaster
|
07fdd5036c
|
reg: Only call get_long_key() when operations require it.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-05 20:14:02 +02:00 |
|
Hugh McMaster
|
b2ead1ffcc
|
reg: Abort 'add' operation when parsing command-line arguments that are not switches.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-02 21:12:53 +02:00 |
|
Hugh McMaster
|
aaf503e1de
|
reg: Use RegCreateKeyExW() instead of RegCreateKeyW().
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-30 17:10:03 +02:00 |
|
Hugh McMaster
|
08976b3ee0
|
reg: Fail if duplicate command-line switches are passed to 'reg add'.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-30 17:10:03 +02:00 |
|
Hugh McMaster
|
9138f5893c
|
reg: Parse 'reg add' command-line arguments in add.c.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-30 17:10:03 +02:00 |
|
Hugh McMaster
|
be718697a2
|
reg: Use malloc(), realloc() and free() from stdlib.h instead of wine/heap.h.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-24 20:46:23 +01:00 |
|
Hugh McMaster
|
7803c53cfe
|
reg: Merge common header #includes into reg.h.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-18 22:04:01 +01:00 |
|
Hugh McMaster
|
7e7d92d5e9
|
reg: Split 'add' functions from reg.c.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-17 20:40:14 +01:00 |
|