Added patch for SetCoalescableTimer stub function.

This commit is contained in:
Sebastian Lackner 2015-10-31 16:50:11 +01:00
parent b03c54797e
commit 2e4d11137f
5 changed files with 66 additions and 1 deletions

View File

@ -34,8 +34,9 @@ Wine. All those differences are also documented on the
Included bug fixes and improvements
-----------------------------------
**Bug fixes and features included in the next upcoming release [5]:**
**Bug fixes and features included in the next upcoming release [6]:**
* Add stub for SetCoalescableTimer ([Wine Bug #39509](https://bugs.winehq.org/show_bug.cgi?id=39509))
* Do not allow interruption of system APC in server_select ([Wine Bug #14697](https://bugs.winehq.org/show_bug.cgi?id=14697))
* Implement FileNamesInformation class support for NtQueryDirectoryFile
* Implement hal.KeQueryPerformanceCounter ([Wine Bug #39500](https://bugs.winehq.org/show_bug.cgi?id=39500))

1
debian/changelog vendored
View File

@ -16,6 +16,7 @@ wine-staging (1.7.54) UNRELEASED; urgency=low
management functions.
* Added patch to improve INetFwAuthorizedApplication::get_ProcessImageFileName
stub.
* Added patch for SetCoalescableTimer stub function.
* Removed patch to implement kernel32.GetPhysicallyInstalledSystemMemory
(accepted upstream).
* Partially removed patches for ws2_32 TransmitFile (accepted upstream).

View File

@ -278,6 +278,7 @@ patch_enable_all ()
enable_user32_Painting="$1"
enable_user32_Refresh_MDI_Menus="$1"
enable_user32_ScrollWindowEx="$1"
enable_user32_SetCoalescableTimer="$1"
enable_user32_WndProc="$1"
enable_uxtheme_GTK_Theming="$1"
enable_version_VerQueryValue="$1"
@ -930,6 +931,9 @@ patch_enable ()
user32-ScrollWindowEx)
enable_user32_ScrollWindowEx="$2"
;;
user32-SetCoalescableTimer)
enable_user32_SetCoalescableTimer="$2"
;;
user32-WndProc)
enable_user32_WndProc="$2"
;;
@ -5404,6 +5408,21 @@ if test "$enable_user32_ScrollWindowEx" -eq 1; then
) >> "$patchlist"
fi
# Patchset user32-SetCoalescableTimer
# |
# | This patchset fixes the following Wine bugs:
# | * [#39509] Add stub for SetCoalescableTimer
# |
# | Modified files:
# | * dlls/user32/message.c, dlls/user32/user32.spec
# |
if test "$enable_user32_SetCoalescableTimer" -eq 1; then
patch_apply user32-SetCoalescableTimer/0001-user32-add-SetCoalescableTimer-stub.patch
(
echo '+ { "Austin English", "user32: add SetCoalescableTimer stub.", 1 },';
) >> "$patchlist"
fi
# Patchset user32-WndProc
# |
# | This patchset fixes the following Wine bugs:

View File

@ -0,0 +1,43 @@
From 763a849b4702851cc1536cbc719a870d693935fe Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish@gmail.com>
Date: Tue, 27 Oct 2015 11:51:39 -0500
Subject: user32: add SetCoalescableTimer stub
Signed-off-by: Austin English <austinenglish@gmail.com>
---
dlls/user32/message.c | 9 +++++++++
dlls/user32/user32.spec | 1 +
2 files changed, 10 insertions(+)
diff --git a/dlls/user32/message.c b/dlls/user32/message.c
index d122980..ce92bac 100644
--- a/dlls/user32/message.c
+++ b/dlls/user32/message.c
@@ -4620,3 +4620,12 @@ BOOL WINAPI ChangeWindowMessageFilterEx( HWND hwnd, UINT message, DWORD action,
FIXME( "%p %x %d %p\n", hwnd, message, action, changefilter );
return TRUE;
}
+
+/******************************************************************
+ * SetCoalescableTimer (USER32.@)
+ */
+UINT_PTR WINAPI SetCoalescableTimer( HWND hwnd, UINT_PTR id, UINT timeout, TIMERPROC proc, ULONG tolerance )
+{
+ FIXME( "%p %lx %u %p %u: semi-stub\n", hwnd, id, timeout, proc, tolerance );
+ return SetTimer( hwnd, id, timeout, proc );
+}
diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec
index 9b409df..163ae46 100644
--- a/dlls/user32/user32.spec
+++ b/dlls/user32/user32.spec
@@ -620,6 +620,7 @@
@ stdcall SetClassWord(long long long)
@ stdcall SetClipboardData(long long)
@ stdcall SetClipboardViewer(long)
+@ stdcall SetCoalescableTimer(long long long ptr long)
# @ stub SetConsoleReserveKeys
@ stdcall SetCursor(long)
@ stub SetCursorContents
--
2.6.1

View File

@ -0,0 +1 @@
Fixes: [39509] Add stub for SetCoalescableTimer