From 5b6a24cc7c17d0d11fb234047569549cbcaf3056 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 16 Sep 2010 10:03:26 -0500 Subject: [PATCH] krnl386.exe: Remove 16 suffix on Get/SetProcessDword since there's no 32-bit version. --- 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 437eed1ae46..a1f7fffd4a0 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 f3dbbea577c..f80cfccce41 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)