RegDeleteTree [4th] [resend]

James Hawkins truiken at gmail.com
Thu May 17 16:11:32 CDT 2007


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.

-- 
James Hawkins



More information about the wine-devel mailing list