advapi32: RegGetValue() should not return an error when expanding a string and given...
commitc47c6483aa680b94ec0d9c4acc9b50b26c0b771c
authorFrancois Gouget <fgouget@codeweavers.com>
Fri, 11 Jan 2008 08:49:48 +0000 (11 09:49 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 11 Jan 2008 11:25:14 +0000 (11 12:25 +0100)
tree0693c2605b3d5049584e4898c98c0b6a113a0e37
parent9bccd06bf91544f7137271f7973b69b5d01ea0c8
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.
dlls/advapi32/registry.c
dlls/advapi32/tests/registry.c