On 5/17/07, Stefan Leichter Stefan.Leichter@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.