user32: Implement WindowFromPhysicalPoint.

physical<->logical is an identity mapping in other functions and
also >win8, so make it consistent with those.

Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jinoh Kang 2021-10-04 03:53:39 +09:00 committed by Alexandre Julliard
parent 763d8aa1cd
commit ef33382df5
4 changed files with 11 additions and 2 deletions

View File

@ -51,5 +51,5 @@
@ stub SoundSentry
@ stdcall UnhookWindowsHookEx(long) user32.UnhookWindowsHookEx
@ 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

View File

@ -51,5 +51,5 @@
@ stub SoundSentry
@ stdcall UnhookWindowsHookEx(long) user32.UnhookWindowsHookEx
@ 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

View File

@ -4506,6 +4506,14 @@ BOOL WINAPI SetPhysicalCursorPos( INT x, INT y )
return SetCursorPos( x, y );
}
/***********************************************************************
* WindowFromPhysicalPoint (USER32.@)
*/
HWND WINAPI WindowFromPhysicalPoint( POINT pt )
{
return WindowFromPoint( pt );
}
/***********************************************************************
* LogicalToPhysicalPoint (USER32.@)
*/

View File

@ -820,6 +820,7 @@
# @ stub WinOldAppHackoMatic
@ stdcall WindowFromDC(long)
@ stdcall WindowFromPoint(int64)
@ stdcall WindowFromPhysicalPoint(int64)
# @ stub YieldTask
# @ stub _SetProcessDefaultLayout
@ stdcall keybd_event(long long long long)