RegDeleteTree [3rd]

Stefan Leichter Stefan.Leichter at camline.com
Wed Apr 25 14:19:01 CDT 2007


Am Thursday 19 April 2007 12:14 schrieb Alexandre Julliard:
> Stefan Leichter <Stefan.Leichter at camline.com> writes:
>
> > +	} else {
> > +            if (!ret)
> > +	        ret = RegSetValueW(hSubKey, NULL, REG_SZ, emptyW, 0);
>
> The function is supposed to delete the key values, that's not what
> this does.
>
> You probably need to write some test cases...
Hello Alexandre,

i 'm not sure what you mean with this point. I have now added a loop to delete 
all value/data pairs, but this loop is only executed for the default entry 
(value NULL). 

If the implementation is not fine for you, can you please suggest detailed 
test cases to be proved.

Thanks Stefan

ChangeLog
-------------
	added implementation of RegDeleteTreeA/W
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RegDeleteTree.diff
Type: text/x-diff
Size: 4814 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070425/daf04b6e/RegDeleteTree.bin


More information about the wine-patches mailing list