Commit Graph

165 Commits

Author SHA1 Message Date
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
Akihiro Sagawa 88778ec0b8 advapi32/tests: Add more KEY_WOW64_32KEY tests for 64-bit. 2014-12-18 18:56:06 +01:00
Jonathan Vollebregt 0311b980f3 advapi32/tests: Test RegDeleteKey with empty string parameter. 2014-11-07 14:42:57 +09:00
Jonathan Vollebregt 495b97f05b advapi32/tests: Fix bad cleanup in test_reg_create_key. 2014-11-07 14:42:18 +09:00
Jonathan Vollebregt 2e78a2c921 advapi32/tests: Add trailing slashes tests for RegOpen/CreateKey. 2014-11-07 14:41:54 +09:00
Michael Stefaniuc bd6c16628f advapi32/tests: Simplify empty string check (PVS-Studio). 2014-11-04 13:31:40 +09:00
Bruno Jesus c7772a5d10 advapi32/tests: Fix copy & paste issue (Cppcheck). 2014-10-31 10:50:46 +09:00
Bruno Jesus cbc8d290b9 advapi32/tests: Add a test for enumerating a registry key without setting it. 2014-10-27 14:36:47 +09:00
Erich E. Hoover f9f3b21fb3 advapi32: Implement RegSetKeySecurity on top of NtSetSecurityObject. 2014-07-04 19:31:25 +02:00
Nikolay Sivov 7041b4db85 advapi32: Implement RegSetKeyValue(). 2014-07-02 19:59:01 +02:00
Nikolay Sivov da6d5e6ae6 advapi32: Implement RegDeleteKeyValue(). 2014-06-30 22:04:52 +02:00
Vincent Povirk 8340636c55 advapi32/tests: Account for limited users in registry test. 2014-06-18 16:27:00 +02:00
Frédéric Delanoy 3e9b7b5992 advapi32/tests: Constify some character strings. 2013-12-20 10:51:41 +01:00
Alexandre Julliard 8b11533dcf advapi32/tests: Use the function pointer to call RegDeleteKeyExA. 2013-10-29 10:23:56 +01:00
Nikolay Sivov 26c2dc93cb advapi32/tests: Remove string constants redefinition that are not needed anymore. 2013-10-28 10:42:00 +01:00
Andrew Eikum 0d1526bf4a advapi32: Don't cache HKCR if WOW64 redirection flags are set. 2013-10-15 16:29:37 +02:00
Nikolay Sivov f6b2aa4a01 advapi32/tests: Compile with -D__WINESRC__. 2013-10-15 14:28:20 +02:00
George Stephanos 8aa205fbcf advapi32/tests: HKCR mask tests fix for WinNT. 2013-09-02 19:44:27 +02:00
George Stephanos 96b03962cd advapi32/tests: Add more tests for hkcr handle mask in existent tests. 2013-08-26 10:55:13 +02:00
George Stephanos 69208b60f8 advapi32/tests: Add tests for hkcr handle mask. 2013-08-26 10:55:11 +02:00
George Stephanos babc072471 advapi32/tests: RegEnumKey and RegEnumValue tests for merged view of HKCR. 2013-08-21 13:08:35 +02:00
George Stephanos 4bdba5c402 advapi32/tests: delete_key() permissions fix. 2013-08-21 13:08:35 +02:00
George Stephanos 16bd3ffc87 advapi32/tests: RegDeleteKey tests for merged view of HKCR. 2013-07-01 12:49:44 +02:00
André Hentschel 1510838d1f advapi32/tests: Fix copy&paste typo. 2013-05-23 09:54:01 +02:00
Rico Schüller cea0e758e6 advapi32: Use the lower 32bit of the special HKEYs on 64bit. 2013-01-24 10:50:10 +01:00
Detlef Riekenberg fa59d1e5d7 advapi32/tests: Accept win8 failure code. 2012-12-11 20:45:45 +01:00
Francois Gouget b8050f0571 Assorted spelling fixes. 2012-09-04 16:15:52 +02:00
Dan Kegel 2cd062831d advapi32: RegSetValueExW should not crash when passed 1 instead of L"1". 2012-08-21 11:50:32 +02:00
André Hentschel c2c3b51650 advapi32/tests: Add a test to cover second RegSetValueW Parameter (gcov). 2012-02-15 11:54:46 +01:00