Jacek Caban : gdi32: Use ntgdi names for PtVisible and RectVisible.

Alexandre Julliard julliard at winehq.org
Wed Aug 4 16:41:37 CDT 2021


Module: wine
Branch: master
Commit: 18a0b5828dba2c8071398057ad89ca06ef6372d3
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=18a0b5828dba2c8071398057ad89ca06ef6372d3

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed Aug  4 11:21:26 2021 +0200

gdi32: Use ntgdi names for PtVisible and RectVisible.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/gdi32/clipping.c | 8 ++++----
 dlls/gdi32/gdi32.spec | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/gdi32/clipping.c b/dlls/gdi32/clipping.c
index bea2c7f8cfc..1fc16149366 100644
--- a/dlls/gdi32/clipping.c
+++ b/dlls/gdi32/clipping.c
@@ -345,9 +345,9 @@ INT WINAPI NtGdiIntersectClipRect( HDC hdc, INT left, INT top, INT right, INT bo
 
 
 /***********************************************************************
- *           PtVisible    (GDI32.@)
+ *           NtGdiPtVisible    (win32u.@)
  */
-BOOL WINAPI PtVisible( HDC hdc, INT x, INT y )
+BOOL WINAPI NtGdiPtVisible( HDC hdc, INT x, INT y )
 {
     POINT pt;
     RECT visrect;
@@ -371,9 +371,9 @@ BOOL WINAPI PtVisible( HDC hdc, INT x, INT y )
 
 
 /***********************************************************************
- *           RectVisible    (GDI32.@)
+ *           NtGdiRectVisible    (win32u.@)
  */
-BOOL WINAPI RectVisible( HDC hdc, const RECT* rect )
+BOOL WINAPI NtGdiRectVisible( HDC hdc, const RECT *rect )
 {
     RECT tmpRect, visrect;
     BOOL ret;
diff --git a/dlls/gdi32/gdi32.spec b/dlls/gdi32/gdi32.spec
index 626463fe2f7..41f27fe7f57 100644
--- a/dlls/gdi32/gdi32.spec
+++ b/dlls/gdi32/gdi32.spec
@@ -407,11 +407,11 @@
 @ stdcall Polyline(long ptr long)
 @ stdcall PolylineTo(long ptr long)
 @ stdcall PtInRegion(long long long) NtGdiPtInRegion
-@ stdcall PtVisible(long long long)
+@ stdcall PtVisible(long long long) NtGdiPtVisible
 # @ stub QueryFontAssocStatus
 @ stdcall RealizePalette(long)
 @ stdcall RectInRegion(long ptr) NtGdiRectInRegion
-@ stdcall RectVisible(long ptr)
+@ stdcall RectVisible(long ptr) NtGdiRectVisible
 @ stdcall Rectangle(long long long long long)
 @ stdcall RemoveFontMemResourceEx(ptr)
 @ stdcall RemoveFontResourceA(str)




More information about the wine-cvs mailing list