Alexandre Julliard : wineandroid: Add a stub implementation of ChangeDisplaySettingsEx.
Alexandre Julliard
julliard at winehq.org
Wed Jun 21 16:43:44 CDT 2017
Module: wine
Branch: master
Commit: 508d7a33e38ab5faf524327b7680132accc83e98
URL: http://source.winehq.org/git/wine.git/?a=commit;h=508d7a33e38ab5faf524327b7680132accc83e98
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Jun 21 15:53:40 2017 +0200
wineandroid: Add a stub implementation of ChangeDisplaySettingsEx.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wineandroid.drv/init.c | 11 +++++++++++
dlls/wineandroid.drv/wineandroid.drv.spec | 1 +
2 files changed, 12 insertions(+)
diff --git a/dlls/wineandroid.drv/init.c b/dlls/wineandroid.drv/init.c
index 871e41d..75905a4 100644
--- a/dlls/wineandroid.drv/init.c
+++ b/dlls/wineandroid.drv/init.c
@@ -207,6 +207,17 @@ static INT ANDROID_GetDeviceCaps( PHYSDEV dev, INT cap )
/***********************************************************************
+ * ANDROID_ChangeDisplaySettingsEx
+ */
+LONG CDECL ANDROID_ChangeDisplaySettingsEx( LPCWSTR devname, LPDEVMODEW devmode,
+ HWND hwnd, DWORD flags, LPVOID lpvoid )
+{
+ FIXME( "(%s,%p,%p,0x%08x,%p)\n", debugstr_w( devname ), devmode, hwnd, flags, lpvoid );
+ return DISP_CHANGE_SUCCESSFUL;
+}
+
+
+/***********************************************************************
* ANDROID_GetMonitorInfo
*/
BOOL CDECL ANDROID_GetMonitorInfo( HMONITOR handle, LPMONITORINFO info )
diff --git a/dlls/wineandroid.drv/wineandroid.drv.spec b/dlls/wineandroid.drv/wineandroid.drv.spec
index 918140f..8e98baa 100644
--- a/dlls/wineandroid.drv/wineandroid.drv.spec
+++ b/dlls/wineandroid.drv/wineandroid.drv.spec
@@ -9,6 +9,7 @@
@ cdecl MapVirtualKeyEx(long long long) ANDROID_MapVirtualKeyEx
@ cdecl ToUnicodeEx(long long ptr ptr long long long) ANDROID_ToUnicodeEx
@ cdecl VkKeyScanEx(long long) ANDROID_VkKeyScanEx
+@ cdecl ChangeDisplaySettingsEx(ptr ptr long long long) ANDROID_ChangeDisplaySettingsEx
@ cdecl EnumDisplayMonitors(long ptr ptr long) ANDROID_EnumDisplayMonitors
@ cdecl GetMonitorInfo(long ptr) ANDROID_GetMonitorInfo
@ cdecl CreateWindow(long) ANDROID_CreateWindow
More information about the wine-cvs
mailing list