From afce86b4bc6198575bbe6046d12fd77efe01cd46 Mon Sep 17 00:00:00 2001 From: Louis Lenders Date: Fri, 5 Jun 2009 18:58:55 +0200 Subject: [PATCH] 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(+) create mode 100644 include/ddrawgdi.h diff --git a/dlls/gdi32/driver.c b/dlls/gdi32/driver.c index 20d3f36ca88..ec5de204b08 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 36a8fb142ec..6a67f44c7eb 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 3d80857af41..c62b85fbb06 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 00000000000..9aea733df68 --- /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 */ -- 2.11.4.GIT