Author: mturk
Date: Thu Jul 22 07:27:45 2010
New Revision: 966526

URL: http://svn.apache.org/viewvc?rev=966526&view=rev
Log:
Use correct unicode API

Modified:
    commons/proper/daemon/trunk/src/native/nt/procrun/include/apxwin.h
    commons/proper/daemon/trunk/src/native/nt/procrun/src/registry.c

Modified: commons/proper/daemon/trunk/src/native/nt/procrun/include/apxwin.h
URL: 
http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/nt/procrun/include/apxwin.h?rev=966526&r1=966525&r2=966526&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/nt/procrun/include/apxwin.h 
(original)
+++ commons/proper/daemon/trunk/src/native/nt/procrun/include/apxwin.h Thu Jul 
22 07:27:45 2010
@@ -21,8 +21,8 @@
 #ifndef WIN32_LEAN_AND_MEAN
 #define WIN32_LEAN_AND_MEAN 
 #endif
-#ifndef WIN32_CE
-#define _WIN32_WINNT 0x0400
+#ifndef _WIN32_WINNT
+#define _WIN32_WINNT 0x0500
 #endif
 
 #include <windows.h>

Modified: commons/proper/daemon/trunk/src/native/nt/procrun/src/registry.c
URL: 
http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/nt/procrun/src/registry.c?rev=966526&r1=966525&r2=966526&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/nt/procrun/src/registry.c (original)
+++ commons/proper/daemon/trunk/src/native/nt/procrun/src/registry.c Thu Jul 22 
07:27:45 2010
@@ -821,7 +821,7 @@ LONG apxDeleteRegistryRecursive(HKEY hKe
     WCHAR szName[SIZ_BUFLEN];
     HKEY hKey = NULL;
 
-    if (ERROR_SUCCESS == RegDeleteKey(hKeyRoot, szSubKey)) {
+    if (ERROR_SUCCESS == RegDeleteKeyW(hKeyRoot, szSubKey)) {
         return ERROR_SUCCESS;
     }
 


Reply via email to