[PATCH] user32: Make point_win_to_phys_dpi() static.
Francois Gouget
fgouget at free.fr
Thu May 9 04:04:09 CDT 2019
Signed-off-by: Francois Gouget <fgouget at free.fr>
---
dlls/user32/sysparams.c | 2 +-
dlls/user32/win.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/user32/sysparams.c b/dlls/user32/sysparams.c
index f5dc47ca4f7..9aad315b141 100644
--- a/dlls/user32/sysparams.c
+++ b/dlls/user32/sysparams.c
@@ -3243,7 +3243,7 @@ POINT map_dpi_point( POINT pt, UINT dpi_from, UINT dpi_to )
/**********************************************************************
* point_win_to_phys_dpi
*/
-POINT point_win_to_phys_dpi( HWND hwnd, POINT pt )
+static POINT point_win_to_phys_dpi( HWND hwnd, POINT pt )
{
return map_dpi_point( pt, GetDpiForWindow( hwnd ), get_win_monitor_dpi( hwnd ) );
}
diff --git a/dlls/user32/win.h b/dlls/user32/win.h
index 1f51fd63314..2ddca634536 100644
--- a/dlls/user32/win.h
+++ b/dlls/user32/win.h
@@ -129,7 +129,6 @@ extern UINT get_monitor_dpi( HMONITOR monitor ) DECLSPEC_HIDDEN;
extern UINT get_win_monitor_dpi( HWND hwnd ) DECLSPEC_HIDDEN;
extern UINT get_thread_dpi(void) DECLSPEC_HIDDEN;
extern POINT map_dpi_point( POINT pt, UINT dpi_from, UINT dpi_to ) DECLSPEC_HIDDEN;
-extern POINT point_win_to_phys_dpi( HWND hwnd, POINT pt ) DECLSPEC_HIDDEN;
extern POINT point_phys_to_win_dpi( HWND hwnd, POINT pt ) DECLSPEC_HIDDEN;
extern POINT point_win_to_thread_dpi( HWND hwnd, POINT pt ) DECLSPEC_HIDDEN;
extern POINT point_thread_to_win_dpi( HWND hwnd, POINT pt ) DECLSPEC_HIDDEN;
--
2.20.1
More information about the wine-devel
mailing list