From e257cb044d42d507a72d54f148bc446f4d50238e Mon Sep 17 00:00:00 2001 From: Louis Lenders Date: Fri, 5 Jun 2009 18:58:55 +0200 Subject: gdi32: add stub for GdiEntry13() --- dlls/gdi32/driver.c | 11 +++++++++++ dlls/gdi32/gdi32.spec | 1 + include/ddrawgdi.h | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+), 0 deletions(-) create mode 100644 include/ddrawgdi.h 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/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 */ -- 1.6.0.4