Alexandre Julliard : gdi32: Remove Get/SetDCState16 implementation, it should not be used by apps.

Alexandre Julliard julliard at winehq.org
Wed Apr 8 10:05:31 CDT 2009


Module: wine
Branch: master
Commit: 1380f0ac4046f7f5495e83fb9d90bb588925905f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1380f0ac4046f7f5495e83fb9d90bb588925905f

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Apr  7 20:13:45 2009 +0200

gdi32: Remove Get/SetDCState16 implementation, it should not be used by apps.

---

 dlls/gdi32/gdi16.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/gdi32/gdi16.c b/dlls/gdi32/gdi16.c
index 643f682..2f49948 100644
--- a/dlls/gdi32/gdi16.c
+++ b/dlls/gdi32/gdi16.c
@@ -3388,7 +3388,8 @@ BOOL16 WINAPI LPtoDP16( HDC16 hdc, LPPOINT16 points, INT16 count )
  */
 HDC16 WINAPI GetDCState16( HDC16 hdc )
 {
-    return HDC_16( get_dc_state( HDC_32(hdc) ));
+    ERR( "no longer supported\n" );
+    return 0;
 }
 
 
@@ -3397,7 +3398,7 @@ HDC16 WINAPI GetDCState16( HDC16 hdc )
  */
 void WINAPI SetDCState16( HDC16 hdc, HDC16 hdcs )
 {
-    set_dc_state( HDC_32(hdc), HDC_32(hdcs) );
+    ERR( "no longer supported\n" );
 }
 
 /***********************************************************************




More information about the wine-cvs mailing list