Fix 64bit issues, add a wine compatibility hack

svn path=/branches/ros-amd64-bringup/; revision=41480
This commit is contained in:
Timo Kreuzer
2009-06-20 12:29:21 +00:00
parent 90b890bba4
commit 380a44fcc5
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -85,7 +85,7 @@ RegisterTasklist(DWORD x)
}
EXTINLINE DWORD WINAPI
DragObject(HWND hwnd1, HWND hwnd2, UINT u1, DWORD dw1, HCURSOR hc1)
DragObject(HWND hwnd1, HWND hwnd2, UINT u1, ULONG_PTR dw1, HCURSOR hc1)
{
return NtUserDragObject(hwnd1, hwnd2, u1, dw1, hc1);
}
@@ -96,7 +96,7 @@ KillTimer(HWND hWnd, UINT_PTR IDEvent)
return NtUserKillTimer(hWnd, IDEvent);
}
EXTINLINE UINT_PTR WINAPI
EXTINLINE UINT WINAPI // FIXME: wine compatibility definition, should be UINT_PTR
SetSystemTimer(HWND hWnd, UINT_PTR IDEvent, UINT Period, TIMERPROC TimerFunc)
{
return NtUserSetSystemTimer(hWnd, IDEvent, Period, TimerFunc);
+2 -2
View File
@@ -118,7 +118,7 @@
NtUserCallOneParam((DWORD)bShow, ONEPARAM_ROUTINE_SHOWCURSOR)
#define NtUserGetDesktopMapping(Ptr) \
(PVOID)NtUserCallOneParam((DWORD)Ptr, ONEPARAM_ROUTINE_GETDESKTOPMAPPING)
(PVOID)NtUserCallOneParam((DWORD_PTR)Ptr, ONEPARAM_ROUTINE_GETDESKTOPMAPPING)
#define ShowCaret(hwnd) \
NtUserShowCaret(hwnd)
@@ -127,7 +127,7 @@
NtUserHideCaret(hwnd)
#define NtUserRegisterSystemClasses(Count,SysClasses) \
(BOOL)NtUserCallTwoParam((DWORD)Count, (DWORD)SysClasses, TWOPARAM_ROUTINE_ROS_REGSYSCLASSES)
(BOOL)NtUserCallTwoParam(Count, (DWORD_PTR)SysClasses, TWOPARAM_ROUTINE_ROS_REGSYSCLASSES)
/* Internal Thread Data */
extern HINSTANCE User32Instance;