Daniel Lehman
023ad350e2
advapi32: Implement EnumDynamicTimeZoneInformation.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 11:45:37 +02:00
Akihiro Sagawa
62f5210364
advapi32: Fix the error code on load failure.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 14:42:03 +02:00
Akihiro Sagawa
cb555215a9
advapi32: Fix the error code on parse failure.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 14:42:01 +02:00
Akihiro Sagawa
e798d25f25
advapi32: Expand environment variables even if REG_SZ type is used.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 14:41:59 +02:00
Akihiro Sagawa
1ed4c150a2
advapi32: RegLoadMUIString doesn't accept a string without '@' prefix.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 14:41:57 +02:00
Akihiro Sagawa
90f79099a4
advapi32/tests: Add more RegLoadMUIString tests.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 14:41:53 +02:00
Akihiro Sagawa
3c1359af10
advapi32: Implement REG_MUI_STRING_TRUNCATE flag.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-24 21:56:00 +02:00
Akihiro Sagawa
1ca4ecadec
advapi32/tests: Add RegLoadMUIString tests with REG_MUI_STRING_TRUNCATE flag.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-24 21:55:56 +02:00
Akihiro Sagawa
4fe6460a30
advapi32: Return required buffer size in RegLoadMUIString.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 13:27:33 +02:00
Akihiro Sagawa
2d9a7cd39d
advapi32: Remove useless RegLoadMUIStringA implementation.
...
This commit avoids brokeness in advance.
Otherwise, it will be broken when we support ERROR_MORE_DATA in
RegLoadMUIStringW.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 13:26:59 +02:00
Akihiro Sagawa
bfdfe85229
advapi32: Improve load_string to return error code.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 13:26:47 +02:00
Akihiro Sagawa
ec716f74d7
advapi32: Improve parameter sanity checks in RegLoadMUIString.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 13:26:18 +02:00
Akihiro Sagawa
1b7f3698f0
advapi32: Support the base directory parameter in RegLoadMUIString.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 13:25:19 +02:00
Akihiro Sagawa
c29a5560a6
advapi32/tests: Add basic RegLoadMUIString tests.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 13:24:53 +02:00
Detlef Riekenberg
9e8e520467
advapi32/tests: Accept failure code from recent win10.
...
Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-22 09:21:14 +01:00
Dmitry Timoshkov
903de9b678
advapi32: Add initial support for querying performance counters data.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-12 12:57:54 +02:00
Dmitry Timoshkov
72a7de1a0f
advapi32/tests: Add more tests for performance counters.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-11 15:45:11 +02:00
Michael Stefaniuc
7b5668a6e7
include: Make ARRAY_SIZE() available in wine/test.h.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-25 12:09:17 +02:00
Daniel Lehman
54bcff15ef
advapi32/tests: Free subkey.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-10 18:17:59 +02:00
Daniel Lehman
1353d02904
server: Notify parents of registry value changes.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-07 12:09:47 +02:00
Daniel Lehman
8dee2df662
advapi32/tests: Add RegNotifyChangeKeyValue tests.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-07 12:09:44 +02:00
Daniel Lehman
19e96b567f
advapi32/tests: Add tests for REG_NOTIFY_THREAD_AGNOSTIC.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-03 10:38:52 +02:00
Daniel Lehman
36a67edd1e
advapi32/tests: Don't call function in assert().
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-02 09:46:39 +02:00
Michael Stefaniuc
716103b1bb
advapi32/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-29 17:27:53 +02:00
Gijs Vermeulen
9702de2002
advapi32/tests: Introduce ARRAY_SIZE macro.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:37:25 +01:00
Zebediah Figura
0c5381c6ce
advapi32/tests: Skip tests modifying HKLM if limited.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-02 13:25:20 +01:00
Vitaly Lipatov
7cbaf1f56f
advapi32/tests: Add test prototype for RegQueryValueEx HKEY_PERFORMANCE_DATA.
...
Signed-off-by: Vitaly Lipatov <lav@etersoft.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:13 +02:00
Hans Leidekker
5786705ab8
advapi32/tests: Initialize input parameters (Valgrind).
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-24 20:52:14 +01:00
Sebastian Lackner
df77e490d8
advapi32: Fix return value of RegNotifyChangeKeyValue for pending events.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-06 00:31:20 +09:00
Alexandre Julliard
303daeef58
advapi32: Fix null termination in RegQueryInfoKeyA.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-15 14:10:41 +09:00
Sebastian Lackner
2ddcd97bb1
advapi32: Fix RegDeleteTreeW when an empty string is passed.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-02 23:29:26 +09:00
Hugh McMaster
50c5a2ce2e
advapi32/tests: Add tests for deleting the default value.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 21:35:40 +09:00
Hugh McMaster
80383dcf39
advapi32/tests: Fix typos.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 21:35:24 +09:00
Frédéric Delanoy
1bccc8b027
advapi32/tests: Use todo_wine_if() in tests.
...
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-29 20:05:01 +09:00
Michael Müller
6b7c576bc5
advapi32: Implement RegCopyTreeA/W.
...
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-29 20:05:01 +09:00
Sebastian Lackner
8358fd1c26
advapi32/tests: Add tests for RegCopyTree.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-29 20:05:00 +09:00
Sebastian Lackner
ae0dc70bb0
advapi32/tests: Improve RegDeleteTree tests.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-29 20:05:00 +09:00
Nikolay Sivov
62d3309a72
advapi32: Make RegOpenCurrentUser() return real key handles for current SID.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 17:53:17 +01:00
Sebastian Lackner
96f4f53937
server: Do not require SeBackupPrivilege in load_registry and unload_registry.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 17:26:22 +09:00
Jacek Caban
5935e9509b
advapi32/tests: Properly test sdlen value.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-16 20:04:30 +09:00
Vincent Povirk
997484964a
advapi32: RegOpenKeyEx can return special roots when asked for empty subkey.
2015-09-01 15:24:14 +09:00
Bernhard Übelacker
eecd136cb7
advapi32: Fail in RegEnumValue on missing value or val_count parameters.
2015-07-08 16:02:25 +09:00
Huw Davies
645a31474c
Revert "advapi32: Fix RegEnumValueW when enumerating long values.".
...
This reverts commit 443ef6e7a6
.
The tests fail on all versions of Windows.
2015-06-23 15:04:03 +09:00
Bernhard Übelacker
443ef6e7a6
advapi32: Fix RegEnumValueW when enumerating long values.
2015-06-22 20:58:23 +09:00
Thomas Faber
817d903cb9
advapi32: Write back partial results in RegQueryInfoKeyA.
2015-05-20 17:26:44 +09:00
Thomas Faber
87b6d42c12
advapi32: Do not fail in RegQueryInfoKey if *class_len is 0.
2015-05-20 17:26:24 +09:00
Thomas Faber
b6c31bea3d
advapi32: Use STATUS_BUFFER_TOO_SMALL for buffer overflows in RegQueryInfoKeyW.
2015-05-20 17:25:56 +09:00
Thomas Faber
b8bcec140c
advapi32/tests: Add tests for RegQueryInfoKey.
2015-05-14 15:13:55 +09:00
Akihiro Sagawa
03f6a6e924
advapi32: Fix HKLM\Software handling when opening with KEY_WOW64_32KEY.
2015-01-19 14:19:32 +01:00
Hans Leidekker
ff0ee8f8a8
advapi32: Return an error from RegSetValueExW if passed a NULL data pointer and non-zero size.
2015-01-05 20:15:14 +01:00