implemented the 32 bit version of GetSystemWow64DirectoryA/W (just set the last error code to ERROR_CALL_NOT_IMPLEMENTED)
Modified: trunk/reactos/lib/kernel32/file/curdir.c
Modified: trunk/reactos/lib/kernel32/misc/stubs.c

Modified: trunk/reactos/lib/kernel32/file/curdir.c
--- trunk/reactos/lib/kernel32/file/curdir.c	2005-10-29 14:51:18 UTC (rev 18851)
+++ trunk/reactos/lib/kernel32/file/curdir.c	2005-10-29 15:05:37 UTC (rev 18852)
@@ -324,4 +324,53 @@
     return GetWindowsDirectoryW( lpBuffer, uSize );
 }
 
+/*
+ * @unimplemented
+ */
+UINT
+STDCALL
+GetSystemWow64DirectoryW(
+    LPWSTR lpBuffer,
+    UINT uSize
+    )
+{
+#ifdef _WIN64
+    DPRINT1("GetSystemWow64DirectoryW is UNIMPLEMENTED!\n");
+    return 0;
+#else
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return 0;
+#endif
+}
+
+/*
+ * @unimplemented
+ */
+UINT
+STDCALL
+GetSystemWow64DirectoryA(
+    LPSTR lpBuffer,
+    UINT uSize
+    )
+{
+#ifdef _WIN64
+   WCHAR BufferW[MAX_PATH];
+   UINT ret;
+
+   ret = GetSystemWow64DirectoryW(BufferW, MAX_PATH);
+
+   if (!ret) return 0;
+   if (ret > MAX_PATH)
+   {
+      SetLastError(ERROR_FILENAME_EXCED_RANGE);
+      return 0;
+   }
+
+   return FilenameW2A_FitOrFail(lpBuffer, uSize, BufferW, ret+1);
+#else
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return 0;
+#endif
+}
+
 /* EOF */

Modified: trunk/reactos/lib/kernel32/misc/stubs.c
--- trunk/reactos/lib/kernel32/misc/stubs.c	2005-10-29 14:51:18 UTC (rev 18851)
+++ trunk/reactos/lib/kernel32/misc/stubs.c	2005-10-29 15:05:37 UTC (rev 18852)
@@ -1148,20 +1148,6 @@
 /*
  * @unimplemented
  */
-UINT
-STDCALL
-GetSystemWow64DirectoryW(
-    LPWSTR lpBuffer,
-    UINT uSize
-    )
-{
-    STUB;
-    return 0;
-}
-
-/*
- * @unimplemented
- */
 BOOL
 STDCALL
 GetVolumeNameForVolumeMountPointW(
@@ -1393,20 +1379,6 @@
 /*
  * @unimplemented
  */
-UINT
-STDCALL
-GetSystemWow64DirectoryA(
-    LPSTR lpBuffer,
-    UINT uSize
-    )
-{
-    STUB;
-    return 0;
-}
-
-/*
- * @unimplemented
- */
 BOOL
 STDCALL
 GetVolumeNameForVolumeMountPointA(