Alexandre Julliard : gdi32: Fix the calling convention of the DeleteDC entry points.
Alexandre Julliard
julliard at winehq.org
Thu Mar 17 12:27:02 CDT 2011
Module: wine
Branch: master
Commit: 23ae69332a2cf332fe98eac06c062c63cd21a35c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=23ae69332a2cf332fe98eac06c062c63cd21a35c
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Mar 17 15:24:44 2011 +0100
gdi32: Fix the calling convention of the DeleteDC entry points.
---
dlls/gdi32/enhmfdrv/init.c | 4 ++--
dlls/gdi32/mfdrv/init.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/gdi32/enhmfdrv/init.c b/dlls/gdi32/enhmfdrv/init.c
index c31496b..09af117 100644
--- a/dlls/gdi32/enhmfdrv/init.c
+++ b/dlls/gdi32/enhmfdrv/init.c
@@ -32,7 +32,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(enhmetafile);
-static BOOL EMFDRV_DeleteDC( PHYSDEV dev );
+static BOOL CDECL EMFDRV_DeleteDC( PHYSDEV dev );
static const DC_FUNCTIONS EMFDRV_Funcs =
{
@@ -161,7 +161,7 @@ static const DC_FUNCTIONS EMFDRV_Funcs =
/**********************************************************************
* EMFDRV_DeleteDC
*/
-static BOOL EMFDRV_DeleteDC( PHYSDEV dev )
+static BOOL CDECL EMFDRV_DeleteDC( PHYSDEV dev )
{
EMFDRV_PDEVICE *physDev = (EMFDRV_PDEVICE *)dev;
UINT index;
diff --git a/dlls/gdi32/mfdrv/init.c b/dlls/gdi32/mfdrv/init.c
index 2cd3ff8..cee4534 100644
--- a/dlls/gdi32/mfdrv/init.c
+++ b/dlls/gdi32/mfdrv/init.c
@@ -30,7 +30,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(metafile);
-static BOOL MFDRV_DeleteDC( PHYSDEV dev );
+static BOOL CDECL MFDRV_DeleteDC( PHYSDEV dev );
static const DC_FUNCTIONS MFDRV_Funcs =
{
@@ -205,7 +205,7 @@ static DC *MFDRV_AllocMetaFile(void)
/**********************************************************************
* MFDRV_DeleteDC
*/
-static BOOL MFDRV_DeleteDC( PHYSDEV dev )
+static BOOL CDECL MFDRV_DeleteDC( PHYSDEV dev )
{
METAFILEDRV_PDEVICE *physDev = (METAFILEDRV_PDEVICE *)dev;
DWORD index;
More information about the wine-cvs
mailing list