From ac825d02f4ab6e176ef6e1ab36a7367cc73b6fa3 Mon Sep 17 00:00:00 2001 From: Raphael Junqueira Date: Wed, 2 Jun 2004 21:32:55 +0000 Subject: [PATCH] Semi stubs for GetSystemWow64Directory[AW]. --- dlls/kernel/kernel32.spec | 2 ++ dlls/kernel/path.c | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/dlls/kernel/kernel32.spec b/dlls/kernel/kernel32.spec index b17787b7392..e9118422a52 100644 --- a/dlls/kernel/kernel32.spec +++ b/dlls/kernel/kernel32.spec @@ -497,6 +497,8 @@ @ stdcall GetSystemTime(ptr) @ stdcall GetSystemTimeAdjustment(ptr ptr ptr) @ stdcall GetSystemTimeAsFileTime(ptr) +@ stdcall GetSystemWow64DirectoryA(ptr long) +@ stdcall GetSystemWow64DirectoryW(ptr long) @ stdcall GetTapeParameters(ptr long ptr ptr) @ stdcall GetTapePosition(ptr long ptr ptr ptr) @ stdcall GetTapeStatus(ptr) diff --git a/dlls/kernel/path.c b/dlls/kernel/path.c index 98b017e725d..886a07bd84e 100644 --- a/dlls/kernel/path.c +++ b/dlls/kernel/path.c @@ -1429,6 +1429,32 @@ UINT WINAPI GetSystemDirectoryA( LPSTR path, UINT 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 ) +{ + SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); + return 0; +} + + +/*********************************************************************** + * GetSystemWow64DirectoryA (KERNEL32.@) + * + * See comment for GetWindowsWow64DirectoryW. + */ +UINT GetSystemWow64DirectoryA( LPSTR lpBuffer, UINT uSize ) +{ + SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); + return 0; +} + + /*********************************************************************** * wine_get_unix_file_name (KERNEL32.@) Not a Windows API *