Michael Stefaniuc : gdi32: SetAbortProc is not a 16bit function but a 32bit one.
Alexandre Julliard
julliard at winehq.org
Tue Feb 17 08:49:09 CST 2009
Module: wine
Branch: master
Commit: 056359cc4eddecb0aa3cfd1b459ee5ae93ecebe6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=056359cc4eddecb0aa3cfd1b459ee5ae93ecebe6
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Mon Feb 16 22:09:01 2009 +0100
gdi32: SetAbortProc is not a 16bit function but a 32bit one.
---
dlls/gdi32/printdrv.c | 15 +++++++++++++++
dlls/gdi32/printdrv16.c | 14 --------------
2 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/dlls/gdi32/printdrv.c b/dlls/gdi32/printdrv.c
index 7d2cb42..18f9db7 100644
--- a/dlls/gdi32/printdrv.c
+++ b/dlls/gdi32/printdrv.c
@@ -197,3 +197,18 @@ INT WINAPI AbortDoc(HDC hdc)
release_dc_ptr( dc );
return ret;
}
+
+
+/**********************************************************************
+ * SetAbortProc (GDI32.@)
+ *
+ */
+INT WINAPI SetAbortProc(HDC hdc, ABORTPROC abrtprc)
+{
+ DC *dc = get_dc_ptr( hdc );
+
+ if (!dc) return FALSE;
+ dc->pAbortProc = abrtprc;
+ release_dc_ptr( dc );
+ return TRUE;
+}
diff --git a/dlls/gdi32/printdrv16.c b/dlls/gdi32/printdrv16.c
index 03043c1..e7954ee 100644
--- a/dlls/gdi32/printdrv16.c
+++ b/dlls/gdi32/printdrv16.c
@@ -122,20 +122,6 @@ INT16 WINAPI SetAbortProc16(HDC16 hdc16, ABORTPROC16 abrtprc)
return TRUE;
}
-/**********************************************************************
- * SetAbortProc (GDI32.@)
- *
- */
-INT WINAPI SetAbortProc(HDC hdc, ABORTPROC abrtprc)
-{
- DC *dc = get_dc_ptr( hdc );
-
- if (!dc) return FALSE;
- dc->pAbortProc = abrtprc;
- release_dc_ptr( dc );
- return TRUE;
-}
-
/****************** misc. printer related functions */
More information about the wine-cvs
mailing list