Warn users who attempt to use native DirectDraw
Mike Hearn
mike at navi.cx
Tue Mar 22 08:26:43 CST 2005
Warn users who attempt to use native DirectDraw
Index: dlls/gdi/gdi32.spec
===================================================================
RCS file: /home/wine/wine/dlls/gdi/gdi32.spec,v
retrieving revision 1.44
diff -u -p -d -r1.44 gdi32.spec
--- dlls/gdi/gdi32.spec 12 Jan 2005 19:57:08 -0000 1.44
+++ dlls/gdi/gdi32.spec 22 Mar 2005 14:15:33 -0000
@@ -153,6 +153,7 @@
@ stub GdiDeleteLocalDC
@ stub GdiDeleteLocalObject
@ stub GdiDllInitialize
+@ stdcall GdiEntry1()
@ stdcall GdiFlush()
@ stdcall GdiGetBatchLimit()
@ stub GdiGetLocalBitmap
Index: dlls/gdi/gdi_main.c
===================================================================
RCS file: /home/wine/wine/dlls/gdi/gdi_main.c,v
retrieving revision 1.17
diff -u -p -d -r1.17 gdi_main.c
--- dlls/gdi/gdi_main.c 15 Jan 2004 00:35:40 -0000 1.17
+++ dlls/gdi/gdi_main.c 22 Mar 2005 14:15:33 -0000
@@ -24,9 +24,12 @@
#include "winbase.h"
#include "wingdi.h"
#include "wine/winbase16.h"
+#include <wine/debug.h>
#include "gdi.h"
#include "gdi_private.h"
+WINE_DEFAULT_DEBUG_CHANNEL(gdi);
+
/***********************************************************************
* GDI initialisation routine
*/
@@ -45,3 +48,13 @@ void WINAPI Copy16( LPVOID src, LPVOID d
{
memcpy( dst, src, size );
}
+
+/* This is a stub used by native DirectX, which we don't support the use of. */
+void WINAPI GdiEntry1()
+{
+ MESSAGE("**********************************************************************");
+ MESSAGE("* Native DirectDraw is not supported, please remove it and try again *");
+ MESSAGE("**********************************************************************");
+
+ ExitProcess(1);
+}
More information about the wine-patches
mailing list