Louis Lenders : gdi32: Add stub for GdiEntry13.

Alexandre Julliard julliard at winehq.org
Mon Jun 15 07:59:15 CDT 2009


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

Author: Louis Lenders <xerox_xerox2000 at yahoo.co.uk>
Date:   Fri Jun  5 18:58:55 2009 +0200

gdi32: Add stub for GdiEntry13.

---

 dlls/gdi32/driver.c   |   11 +++++++++++
 dlls/gdi32/gdi32.spec |    1 +
 include/Makefile.in   |    1 +
 include/ddrawgdi.h    |   36 ++++++++++++++++++++++++++++++++++++
 4 files changed, 49 insertions(+), 0 deletions(-)

diff --git a/dlls/gdi32/driver.c b/dlls/gdi32/driver.c
index 20d3f36..ec5de20 100644
--- a/dlls/gdi32/driver.c
+++ b/dlls/gdi32/driver.c
@@ -28,6 +28,7 @@
 #include "windef.h"
 #include "winbase.h"
 #include "winreg.h"
+#include "ddrawgdi.h"
 
 #include "gdi_private.h"
 #include "wine/unicode.h"
@@ -741,3 +742,13 @@ INT WINAPI NamedEscape( HDC hdc, LPCWSTR pDriver, INT nEscape, INT cbInput, LPCS
           lpszOutData);
     return 0;
 }
+
+/*******************************************************************
+ *      DdQueryDisplaySettingsUniqueness [GDI32.@]
+ *      GdiEntry13                       [GDI32.@]
+ */
+ULONG WINAPI DdQueryDisplaySettingsUniqueness(VOID)
+{
+    FIXME("stub\n");
+    return 0;
+}
diff --git a/dlls/gdi32/gdi32.spec b/dlls/gdi32/gdi32.spec
index 36a8fb1..6a67f44 100644
--- a/dlls/gdi32/gdi32.spec
+++ b/dlls/gdi32/gdi32.spec
@@ -174,6 +174,7 @@
 # @ stub GdiDrawStream
 # @ stub GdiEndDocEMF
 # @ stub GdiEndPageEMF
+@ stdcall GdiEntry13()
 # @ stub GdiFixUpHandle
 @ stdcall GdiFlush()
 # @ stub GdiFullscreenControl
diff --git a/include/Makefile.in b/include/Makefile.in
index 3d80857..c62b85f 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -176,6 +176,7 @@ SRCDIR_INCLUDES = \
 	ddk/winddiui.h \
 	ddk/winsplp.h \
 	ddraw.h \
+	ddrawgdi.h \
 	ddrawi.h \
 	devenum.idl \
 	devguid.h \
diff --git a/include/ddrawgdi.h b/include/ddrawgdi.h
new file mode 100644
index 0000000..9aea733
--- /dev/null
+++ b/include/ddrawgdi.h
@@ -0,0 +1,36 @@
+/*
+ * Ddrawgdi definitions
+ *
+ * Copyright (C) 2009 Louis Lenders
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef __WINE_DDRAWGDI_H
+#define __WINE_DDRAWGDI_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define DdQueryDisplaySettingsUniqueness    GdiEntry13
+
+ULONG APIENTRY DdQueryDisplaySettingsUniqueness(VOID);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __WINE_DDRAWGDI_H */




More information about the wine-cvs mailing list