user32: Add a stub for GetAppCompatFlags2

Detlef Riekenberg wine.dev at web.de
Mon Jul 30 22:31:42 CDT 2007


Fix a Crash in PDFCreator with native ps5ui.dll

Changelog:
user32: Add a stub for GetAppCompatFlags2


-- 
 
By by ... Detlef

-------------- next part --------------
>From c2e87ce86f59f8b4346e682fd16d0d7364ba1848 Mon Sep 17 00:00:00 2001
From: Detlef Riekenberg <wine.dev at web.de>
Date: Tue, 31 Jul 2007 05:27:55 +0200
Subject: [PATCH] user32: Addd a stub for GetAppCompatFlags2
---
 dlls/user32/misc.c      |   11 ++++++++++-
 dlls/user32/user32.spec |    2 +-
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/dlls/user32/misc.c b/dlls/user32/misc.c
index bd1c9f7..3b20d6d 100644
--- a/dlls/user32/misc.c
+++ b/dlls/user32/misc.c
@@ -575,7 +575,16 @@ BOOL  WINAPI UnregisterDeviceNotificatio
  */
 DWORD WINAPI GetAppCompatFlags( HTASK hTask )
 {
-    FIXME("stub\n");
+    FIXME("(%p) stub\n", hTask);
+    return 0;
+}
+
+/***********************************************************************
+ *           GetAppCompatFlags   (USER32.@)
+ */
+DWORD WINAPI GetAppCompatFlags2( HTASK hTask )
+{
+    FIXME("(%p) stub\n", hTask);
     return 0;
 }
 
diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec
index 8bf9ad1..d626053 100644
--- a/dlls/user32/user32.spec
+++ b/dlls/user32/user32.spec
@@ -244,8 +244,8 @@ # @ stub EnterReaderModeHelper
 @ stdcall GetAltTabInfoA(long long ptr ptr long)
 @ stdcall GetAltTabInfoW(long long ptr ptr long)
 @ stdcall GetAncestor(long long)
-# @ stub GetAppCompatFlags2
 @ stdcall GetAppCompatFlags(long)
+@ stdcall GetAppCompatFlags2(long)
 @ stdcall GetAsyncKeyState(long)
 @ stdcall GetCapture()
 @ stdcall GetCaretBlinkTime()
-- 
1.4.1



More information about the wine-patches mailing list