Alexandre Julliard : krnl386.exe: Remove 16 suffix on Get/ SetProcessDword since there's no 32-bit version.

Alexandre Julliard julliard at winehq.org
Tue Oct 5 14:41:48 CDT 2010


Module: wine
Branch: stable
Commit: c190ec305ddbe9fa4fd1f5d655cad12b772236f9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c190ec305ddbe9fa4fd1f5d655cad12b772236f9

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Sep 16 10:03:26 2010 -0500

krnl386.exe: Remove 16 suffix on Get/SetProcessDword since there's no 32-bit version.
(cherry picked from commit 5b6a24cc7c17d0d11fb234047569549cbcaf3056)

---

 dlls/krnl386.exe16/kernel.c           |    4 ++--
 dlls/krnl386.exe16/krnl386.exe16.spec |    6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dlls/krnl386.exe16/kernel.c b/dlls/krnl386.exe16/kernel.c
index 437eed1..a1f7fff 100644
--- a/dlls/krnl386.exe16/kernel.c
+++ b/dlls/krnl386.exe16/kernel.c
@@ -643,7 +643,7 @@ DWORD WINAPI MapProcessHandle( HANDLE hProcess )
  *           SetProcessDword    (KERNEL.484)
  * 'Of course you cannot directly access Windows internal structures'
  */
-void WINAPI SetProcessDword16( DWORD dwProcessID, INT offset, DWORD value )
+void WINAPI SetProcessDword( DWORD dwProcessID, INT offset, DWORD value )
 {
     TRACE("(%d, %d)\n", dwProcessID, offset );
 
@@ -684,7 +684,7 @@ void WINAPI SetProcessDword16( DWORD dwProcessID, INT offset, DWORD value )
  *           GetProcessDword    (KERNEL.485)
  * 'Of course you cannot directly access Windows internal structures'
  */
-DWORD WINAPI GetProcessDword16( DWORD dwProcessID, INT offset )
+DWORD WINAPI GetProcessDword( DWORD dwProcessID, INT offset )
 {
     DWORD               x, y;
     STARTUPINFOW        siw;
diff --git a/dlls/krnl386.exe16/krnl386.exe16.spec b/dlls/krnl386.exe16/krnl386.exe16.spec
index f3dbbea..f80cfcc 100644
--- a/dlls/krnl386.exe16/krnl386.exe16.spec
+++ b/dlls/krnl386.exe16/krnl386.exe16.spec
@@ -386,8 +386,8 @@
 481 pascal -ret16 _LeaveWin16Lock() _LeaveWin16Lock
 482 pascal LoadSystemLibrary32(str) LoadLibrary32_16   # FIXME!
 483 pascal MapProcessHandle(long) MapProcessHandle
-484 pascal SetProcessDword(long s_word long) SetProcessDword16
-485 pascal GetProcessDword(long s_word) GetProcessDword16
+484 pascal SetProcessDword(long s_word long) SetProcessDword
+485 pascal GetProcessDword(long s_word) GetProcessDword
 486 pascal FreeLibrary32(long) FreeLibrary32_16
 487 pascal GetModuleFileName32(long str word) GetModuleFileName32_16
 488 pascal GetModuleHandle32(str) GetModuleHandle32_16
@@ -566,7 +566,7 @@
 @ varargs -arch=win32 k32wsprintfA(str str)
 @ stdcall -arch=win32 k32wvsprintfA(ptr str ptr)
 @ stdcall -arch=win32 -register CommonUnimpStub()
-@ stdcall -arch=win32 GetProcessDword16(long long)
+@ stdcall -arch=win32 GetProcessDword(long long)
 @ stdcall -arch=win32 DosFileHandleToWin32Handle(long)
 @ stdcall -arch=win32 Win32HandleToDosFileHandle(long)
 @ stdcall -arch=win32 DisposeLZ32Handle(long)




More information about the wine-cvs mailing list