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

Also group them with the other DPI functions.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2018-07-13 17:37:56 +02:00
parent c5cb5e24a3
commit ae7acbfe4b
3 changed files with 34 additions and 44 deletions

View file

@ -284,16 +284,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.@)
*/
@ -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.@)
*/

View file

@ -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;
}

View file

@ -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;
}