Alexandre Julliard : gdi32: Disable SetDCOrg16.

Alexandre Julliard julliard at winehq.org
Tue Nov 17 09:28:19 CST 2009


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Nov 17 12:42:16 2009 +0100

gdi32: Disable SetDCOrg16.

---

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

diff --git a/dlls/gdi32/gdi16.c b/dlls/gdi32/gdi16.c
index 0712f40..a8644da 100644
--- a/dlls/gdi32/gdi16.c
+++ b/dlls/gdi32/gdi16.c
@@ -3662,13 +3662,8 @@ void WINAPI SetDCState16( HDC16 hdc, HDC16 hdcs )
  */
 DWORD WINAPI SetDCOrg16( HDC16 hdc16, INT16 x, INT16 y )
 {
-    DWORD prevOrg = 0;
-    HDC hdc = HDC_32( hdc16 );
-    DC *dc = get_dc_ptr( hdc );
-    if (!dc) return 0;
-    if (dc->funcs->pSetDCOrg) prevOrg = dc->funcs->pSetDCOrg( dc->physDev, x, y );
-    release_dc_ptr( dc );
-    return prevOrg;
+    FIXME( "%04x %d,%d no longer supported\n", hdc16, x, y );
+    return 0;
 }
 
 




More information about the wine-cvs mailing list