Module: wine Branch: master Commit: 5b6a24cc7c17d0d11fb234047569549cbcaf3056 URL: http://source.winehq.org/git/wine.git/?a=commit;h=5b6a24cc7c17d0d11fb2340475...
Author: Alexandre Julliard julliard@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.
---
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)