Commit ae7acbfe authored by Alexandre Julliard's avatar Alexandre Julliard

user32: Remove FIXMEs from physical<->logical mapping functions.

Also group them with the other DPI functions. Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent c5cb5e24
......@@ -285,16 +285,6 @@ BOOL WINAPI GetCursorInfo( PCURSORINFO pci )
/***********************************************************************
* GetPhysicalCursorPos (USER32.@)
*/
BOOL WINAPI GetPhysicalCursorPos(POINT *point)
{
FIXME("(%p) semi-stub: forwarding to GetCursorPos\n", point);
return GetCursorPos(point);
}
/***********************************************************************
* SetCursorPos (USER32.@)
*/
BOOL WINAPI DECLSPEC_HOTPATCH SetCursorPos( INT x, INT y )
......@@ -320,16 +310,6 @@ BOOL WINAPI DECLSPEC_HOTPATCH SetCursorPos( INT x, INT y )
return ret;
}
/***********************************************************************
* SetPhysicalCursorPos (USER32.@)
*/
BOOL WINAPI SetPhysicalCursorPos(INT x, INT y)
{
FIXME("(%u %u) semi-stub: forwarding to SetCursorPos\n", x, y);
return SetCursorPos(x, y);
}
/**********************************************************************
* SetCapture (USER32.@)
*/
......
......@@ -3437,3 +3437,37 @@ BOOL WINAPI GetDisplayAutoRotationPreferences( ORIENTATION_PREFERENCE *orientati
*orientation = ORIENTATION_PREFERENCE_NONE;
return TRUE;
}
/* physical<->logical mapping functions from win8 that are nops in later versions */
/***********************************************************************
* GetPhysicalCursorPos (USER32.@)
*/
BOOL WINAPI GetPhysicalCursorPos( POINT *point )
{
return GetCursorPos( point );
}
/***********************************************************************
* SetPhysicalCursorPos (USER32.@)
*/
BOOL WINAPI SetPhysicalCursorPos( INT x, INT y )
{
return SetCursorPos( x, y );
}
/***********************************************************************
* LogicalToPhysicalPoint (USER32.@)
*/
BOOL WINAPI LogicalToPhysicalPoint( HWND hwnd, POINT *point )
{
return TRUE;
}
/***********************************************************************
* PhysicalToLogicalPoint (USER32.@)
*/
BOOL WINAPI PhysicalToLogicalPoint( HWND hwnd, POINT *point )
{
return TRUE;
}
......@@ -2999,27 +2999,3 @@ void WINPOS_SysCommandSizeMove( HWND hwnd, WPARAM wParam )
else WINPOS_ShowIconTitle( hwnd, TRUE );
}
}
/***********************************************************************
* LogicalToPhysicalPoint (USER32.@)
*/
BOOL WINAPI LogicalToPhysicalPoint(HWND hwnd, POINT *point)
{
static int once;
if (!once++)
FIXME("(%p %p) stub\n", hwnd, point);
return TRUE;
}
/***********************************************************************
* PhysicalToLogicalPoint (USER32.@)
*/
BOOL WINAPI PhysicalToLogicalPoint(HWND hwnd, POINT *point)
{
static int once;
if (!once++)
FIXME("(%p %p) stub\n", hwnd, point);
return TRUE;
}
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