Commit Graph

158 Commits

Author SHA1 Message Date
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
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 9f9104d6bd advapi32: Remove unused parameter. 2014-12-18 18:56:01 +01:00
Nikolay Sivov ad012a8a57 advapi32/registry: Use heap helpers. 2014-08-28 16:53:26 +02: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
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Andrew Eikum 0d1526bf4a advapi32: Don't cache HKCR if WOW64 redirection flags are set. 2013-10-15 16:29:37 +02:00
Andrew Eikum 8cb7f877d7 advapi32: Attempt to open WOW64 key before the lowest level key, too.
Without this, we'll fail to open the correct key for e.g.
<Machine\Software\Classes> with KEY_WOW64_32KEY, which should resolve to
<Machine\Software\Wow6432Node\Classes>.
2013-10-15 16:27:15 +02:00
Frédéric Delanoy 6b6495e3ca advapi32: Use BOOL type where appropriate. 2013-10-04 12:46:13 +02:00
Frédéric Delanoy ce88fd16ae advapi32: Use BOOL type where appropriate. 2013-09-25 19:51:09 +02:00
Michael Stefaniuc 6f8b2f5938 advapi32: Avoid using CONST. 2013-09-23 11:53:54 +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
Jacek Caban d331118bfd advapi32: Added debug trace to RegOverridePredefKey. 2012-11-22 14:53:35 +01: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 06da4b2201 advapi32: Remove 'stub' from TRACEs of implemented functions. 2012-06-27 11:35:56 +02:00
André Hentschel e4cb946c4a advapi32: Avoid shadowing a parameter. 2012-04-17 20:12:38 +02:00
Austin English 1163d1c00b advapi32: Add a stub for RegDisableReflectionKey. 2012-03-13 10:53:58 +01:00
Francois Gouget ada3d57e83 advapi32: Fix printing NULL strings. 2011-09-20 16:21:38 +02:00
Alexandre Julliard 5055ec63a7 advapi32: Fix array size construct that gcc doesn't like. 2011-03-07 11:06:51 +01:00
Alexandre Julliard 21da080dbd advapi32: Add support for the KEY_WOW64_32KEY flag in RegOpenKey on 64-bit. 2010-04-02 12:23:02 +02:00
Alexandre Julliard 68a5c34731 advapi32: Add support for the KEY_WOW64_32KEY flag in RegCreateKey on 64-bit. 2010-04-02 11:51:15 +02:00
Alexandre Julliard acc41b50d1 advapi32: Don't use the static Unicode buffer for value names since they can be larger than MAX_PATH. 2010-04-02 11:50:12 +02:00
Alexandre Julliard 972f96d6c4 advapi32: Create keys recursively if necessary. 2010-03-01 14:12:12 +01:00
Alexandre Julliard 9b7d1041fc advapi32: Implemented RegDeleteKeyExA/W. 2010-02-18 14:01:45 +01:00
Alexandre Julliard 0e98500e43 ntdll: Fix the return value of NtOpenKey for some invalid parameters. 2010-02-16 14:32:26 +01:00
Alexandre Julliard 6c07850270 advapi32: Add support for registry symlinks. 2010-02-15 21:07:41 +01:00
Maarten Lankhorst 96ca708706 advapi32: Fix RegGetValue on REG_BINARY data. 2010-02-01 14:11:04 +01:00
Paul Chitescu 7fea0e332f advapi32: Reduce registry access to MAXIMUM_ALLOWED wherever possible. 2009-12-07 14:50:20 +01:00
Detlef Riekenberg 0ca3b3b423 advapi32: Check the output pointer first in RegOpenKey, with test. 2009-06-29 14:51:30 +02:00
Alexandre Julliard b88554d22f advapi32: Fix pointer cast warnings on 64-bit. 2009-01-08 17:26:30 +01:00
Lei Zhang aacb511da1 advapi32: Allow opening HKEY_CLASSES_ROOT subkeys with backslash prefix on NT. 2008-11-24 14:38:56 +01:00
Detlef Riekenberg b67533f204 advapi32: Remove outdated comment. 2008-09-19 11:40:53 +02:00
Mikołaj Zalewski daafda22f8 advapi32: Remove access checks from advapi32 (makes KEY_WOW64_* work). 2008-07-24 13:03:40 +02:00
Andrew Talbot 414cdc0475 advapi32: Sign-compare warnings fix. 2008-07-23 13:54:17 +02:00
Mathias Kosch 9a7dc15979 advapi32: Fix RegGetValue when dwFlags includes RRF_RT_ANY. 2008-07-21 14:37:54 +02:00
Alexandre Julliard df0f42fe78 advapi32: Implemented RegOverridePredefKey. 2008-03-11 19:48:57 +01:00
Rob Shearman 628183c2f9 advapi32: Document that the cbData parameter of RegSetValueA/W is ignored. 2008-02-18 13:29:56 +01:00
Rob Shearman 121be51f1d advapi32: Add tests for RegSetValueA/W.
Fix RegSetValueA/W to return ERROR_INVALID_PARAMETER if NULL data is 
passed in.
2008-02-18 13:29:51 +01:00
Rob Shearman 7579145ae1 advapi32: The lpcbSecurityDescriptor parameter to RegGetKeySecurity isn't optional, so don't complicate the code by treating as though it is. 2008-02-15 11:03:31 +01:00
Francois Gouget d9a06b236a advapi32: RegGetValueW() must return the required buffer size in bytes, not WCHARs. 2008-01-11 12:25:21 +01:00
Francois Gouget c47c6483aa advapi32: RegGetValue() should not return an error when expanding a string and given a NULL buffer and a zero size.
Adjust the tests to cover this case for REG_EXPAND_SZ registry
values. Improve the documentation a bit.
2008-01-11 12:25:14 +01:00
Sam Dennis 1590b1f731 advapi32: Fix undocumented behaviour in ReqQueryValueEx when 'count' and 'type' point to the same address. 2007-12-14 14:06:45 +01:00
Andrew Talbot fd03f4ae86 advapi32: Fix a typo. 2007-11-29 13:39:16 +01:00
Francois Gouget af183df608 advapi32: Add and use LSTATUS. 2007-09-18 11:20:53 +02:00
Francois Gouget 1da7a32b11 advapi32: Add more RegGetValue() conformance tests, and fix Wine accordingly. 2007-06-21 13:11:09 +02:00