mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Fix 64bit issues, add a wine compatibility hack
svn path=/branches/ros-amd64-bringup/; revision=41480
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user