Commit ef33382d authored by Jinoh Kang's avatar Jinoh Kang Committed by Alexandre Julliard

user32: Implement WindowFromPhysicalPoint.

physical<->logical is an identity mapping in other functions and also >win8, so make it consistent with those. Signed-off-by: 's avatarJinoh Kang <jinoh.kang.kr@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 763d8aa1
...@@ -51,5 +51,5 @@ ...@@ -51,5 +51,5 @@
@ stub SoundSentry @ stub SoundSentry
@ stdcall UnhookWindowsHookEx(long) user32.UnhookWindowsHookEx @ stdcall UnhookWindowsHookEx(long) user32.UnhookWindowsHookEx
@ stdcall UpdateLayeredWindow(long long ptr ptr long ptr long ptr long) user32.UpdateLayeredWindow @ stdcall UpdateLayeredWindow(long long ptr ptr long ptr long ptr long) user32.UpdateLayeredWindow
@ stub WindowFromPhysicalPoint @ stdcall WindowFromPhysicalPoint(int64) user32.WindowFromPhysicalPoint
@ stdcall WindowFromPoint(int64) user32.WindowFromPoint @ stdcall WindowFromPoint(int64) user32.WindowFromPoint
...@@ -51,5 +51,5 @@ ...@@ -51,5 +51,5 @@
@ stub SoundSentry @ stub SoundSentry
@ stdcall UnhookWindowsHookEx(long) user32.UnhookWindowsHookEx @ stdcall UnhookWindowsHookEx(long) user32.UnhookWindowsHookEx
@ stdcall UpdateLayeredWindow(long long ptr ptr long ptr long ptr long) user32.UpdateLayeredWindow @ stdcall UpdateLayeredWindow(long long ptr ptr long ptr long ptr long) user32.UpdateLayeredWindow
@ stub WindowFromPhysicalPoint @ stdcall WindowFromPhysicalPoint(int64) user32.WindowFromPhysicalPoint
@ stdcall WindowFromPoint(int64) user32.WindowFromPoint @ stdcall WindowFromPoint(int64) user32.WindowFromPoint
...@@ -4507,6 +4507,14 @@ BOOL WINAPI SetPhysicalCursorPos( INT x, INT y ) ...@@ -4507,6 +4507,14 @@ BOOL WINAPI SetPhysicalCursorPos( INT x, INT y )
} }
/*********************************************************************** /***********************************************************************
* WindowFromPhysicalPoint (USER32.@)
*/
HWND WINAPI WindowFromPhysicalPoint( POINT pt )
{
return WindowFromPoint( pt );
}
/***********************************************************************
* LogicalToPhysicalPoint (USER32.@) * LogicalToPhysicalPoint (USER32.@)
*/ */
BOOL WINAPI LogicalToPhysicalPoint( HWND hwnd, POINT *point ) BOOL WINAPI LogicalToPhysicalPoint( HWND hwnd, POINT *point )
......
...@@ -820,6 +820,7 @@ ...@@ -820,6 +820,7 @@
# @ stub WinOldAppHackoMatic # @ stub WinOldAppHackoMatic
@ stdcall WindowFromDC(long) @ stdcall WindowFromDC(long)
@ stdcall WindowFromPoint(int64) @ stdcall WindowFromPoint(int64)
@ stdcall WindowFromPhysicalPoint(int64)
# @ stub YieldTask # @ stub YieldTask
# @ stub _SetProcessDefaultLayout # @ stub _SetProcessDefaultLayout
@ stdcall keybd_event(long long long long) @ stdcall keybd_event(long long long long)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment