[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-patches
Subject:    [KERNEL32] GetSystemWow64Directory[AW]
From:       Raphael <fenix () club-internet ! fr>
Date:       2004-05-31 23:37:28
Message-ID: 200406010137.28477.fenix () club-internet ! fr
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

 Changelog:
  - semi stubs for GetSystemWow64Directory[AW] (ie the easy implementation for 
win32 support is done) who are used by the native MSI Installer (to check 
windows 64 bit support)

Regards,
Raphael


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAu8G4p7NA3AmQTU4RAuqLAJ9rv8d4FYNCHA3rEvMOz42s25roXQCeK1JR
HPObVXhtWTvoSysDnwMxlng=
=jhAv
-----END PGP SIGNATURE-----

["kernel32-3.diff" (text/x-diff)]

Index: kernel32.spec
===================================================================
RCS file: /home/wine/wine/dlls/kernel/kernel32.spec,v
retrieving revision 1.133
diff -u -r1.133 kernel32.spec
--- kernel32.spec	23 Apr 2004 02:46:18 -0000	1.133
+++ kernel32.spec	31 May 2004 23:35:38 -0000
@@ -497,6 +497,8 @@
 @ stdcall GetSystemTime(ptr)
 @ stdcall GetSystemTimeAdjustment(ptr ptr ptr)
 @ stdcall GetSystemTimeAsFileTime(ptr)
+@ stdcall GetSystemWow64DirectoryA(str long)
+@ stdcall GetSystemWow64DirectoryW(wstr long)
 @ stdcall GetTapeParameters(ptr long ptr ptr)
 @ stdcall GetTapePosition(ptr long ptr ptr ptr)
 @ stdcall GetTapeStatus(ptr)
Index: path.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/path.c,v
retrieving revision 1.13
diff -u -r1.13 path.c
--- path.c	13 May 2004 20:21:25 -0000	1.13
+++ path.c	31 May 2004 23:35:40 -0000
@@ -1428,6 +1428,29 @@
     return copy_filename_WtoA( DIR_System, path, count );
 }
 
+/***********************************************************************
+ *           GetSystemWow64DirectoryW   (KERNEL32.@)
+ *
+ * As seen on MSDN
+ * - On Win32 we should returns ERROR_CALL_NOT_IMPLEMENTED
+ * - On Win64 we should returns the SysWow64 (system64) directory 
+ */
+UINT GetSystemWow64DirectoryW( LPWSTR lpBuffer, UINT uSize ) {
+  FIXME( "%ld: Only 32-bit support for now\n", uSize );
+  SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
+  return 0;
+}
+
+/***********************************************************************
+ *           GetSystemWow64DirectoryA   (KERNEL32.@)
+ *
+ * See comment for GetWindowsWow64DirectoryW.
+ */
+UINT GetSystemWow64DirectoryA( LPSTR lpBuffer, UINT uSize ) {
+  FIXME( "%ld: Only 32-bit support for now\n", uSize );
+  SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
+  return 0;
+}
 
 /***********************************************************************
  *           wine_get_unix_file_name (KERNEL32.@) Not a Windows API


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic