advapi32: "RegGetValue" fails with some correct combinations of "dwFlags"

Mathias Kosch info at mkosch.de
Thu Jul 17 18:54:12 CDT 2008


Dan Kegel wrote:
> You forgot to mention which versions of Windows you
> ran the test case on (and whether it passed there).
Thank you for telling me. (I'm not yet very familar with the process
of publishing patches.)

It took me some time, for I first had to install "Windows Server
2003".
Testing was a good idea because I found out that my bugfix was a
little too lax. Windows only allows "RRF_RT_ANY" without
"RRF_NOEXPAND", but not a combination of "(RRF_RT_REG_EXPAND_SZ |
RRF_RT_REG_SZ)". This is still a little curious because I thought
"dwFlags" would act like a mask.
Nevertheless Bug#14509 (and Bug#14350) are still fixed.

I successfully tested the test case under "Windows Server 2003" and
Wine 1.1.1 with this patch applied.

You can find the updates to this patch and test case as attachments.
-- 
Mathias Kosch <info at mkosch.de> | http://www.mkosch.de/
RSA Public Key: http://www.mkosch.de/pubkey

Mehr Schutz der Privatsphäre: http://www.gnupg.org/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: registry.c.patch.txt
Url: http://www.winehq.org/pipermail/wine-devel/attachments/20080718/e7f5ac3e/attachment.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testcase-registry.c.patch.txt
Url: http://www.winehq.org/pipermail/wine-devel/attachments/20080718/e7f5ac3e/attachment-0001.txt 


More information about the wine-devel mailing list