RegDeleteTree [5]

Stefan Leichter Stefan.Leichter at camline.com
Fri May 18 12:32:43 CDT 2007


Am Thursday 17 May 2007 23:11 schrieb James Hawkins:
> On 5/17/07, Stefan Leichter <Stefan.Leichter at camline.com> wrote:
> > Hello,
> >
> > is anything wrong with this patch?
>
> +#if (_WIN32_WINNT >= 0x0600)
> +LONG        WINAPI RegDeleteTreeA(HKEY,LPCSTR);
> +LONG        WINAPI RegDeleteTreeW(HKEY,LPCWSTR);
> +#define     RegDeleteTree WINELIB_NAME_AW(RegDeleteTree)
> +#endif /* (_WIN32_WINNT >= 0x0600) */
>
> I don't think that's necessary.
>
> +static const WCHAR emptyW[] = {0};
>
> You don't use this anywhere.
>
> +    if (!ret) {
>
> You'll save a lot of indentation if you just return on error, for each
> error.

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


More information about the wine-patches mailing list