mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-09-13 09:17:20 -07:00
Added patch to set last error when GetRawInputDeviceList fails.
This commit is contained in:
parent
00872dd69c
commit
e39c803fac
@ -37,9 +37,10 @@ Wine. All those differences are also documented on the
|
||||
Included bug fixes and improvements
|
||||
===================================
|
||||
|
||||
**Bugfixes and features included in the next upcoming release [1]:**
|
||||
**Bugfixes and features included in the next upcoming release [2]:**
|
||||
|
||||
* Fix condition mask handling in RtlVerifyVersionInfo ([Wine Bug #36143](https://bugs.winehq.org/show_bug.cgi?id=36143))
|
||||
* Set last error when GetRawInputDeviceList fails ([Wine Bug #37667](https://bugs.winehq.org/show_bug.cgi?id=37667))
|
||||
|
||||
|
||||
**Bugs fixed in Wine Staging 1.7.32 [108]:**
|
||||
|
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -1,6 +1,7 @@
|
||||
wine-compholio (1.7.33) UNRELEASED; urgency=low
|
||||
* Added additional tests for VerifyVersionInfoA.
|
||||
* Added patch to fix condition handling in RtlVerifyVersionInfo.
|
||||
* Added patch to set last error when GetRawInputDeviceList fails.
|
||||
* Removed patch to fix copy and paste errors in ws2_32 tests (accepted upstream).
|
||||
* Removed patch to fix ordering of IP addresses by metric if two addresses have the same metric (accepted upstream).
|
||||
* Removed patch to reset data->pWintrustData->u.pFile->hFile after closing handle (accepted upstream).
|
||||
|
@ -104,6 +104,7 @@ PATCHLIST := \
|
||||
shlwapi-UrlCombine.ok \
|
||||
user32-Dialog_Paint_Event.ok \
|
||||
user32-DrawTextExW.ok \
|
||||
user32-GetRawInputDeviceList.ok \
|
||||
user32-GetSystemMetrics.ok \
|
||||
user32-GetTipText.ok \
|
||||
user32-Mouse_Message_Hwnd.ok \
|
||||
@ -1607,6 +1608,21 @@ user32-DrawTextExW.ok:
|
||||
echo '+ { "Sebastian Lackner", "user32: Fix handling of invert_y in DrawTextExW.", 1 },'; \
|
||||
) > user32-DrawTextExW.ok
|
||||
|
||||
# Patchset user32-GetRawInputDeviceList
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
# | * [#37667] Set last error when GetRawInputDeviceList fails
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/user32/input.c
|
||||
# |
|
||||
.INTERMEDIATE: user32-GetRawInputDeviceList.ok
|
||||
user32-GetRawInputDeviceList.ok:
|
||||
$(call APPLY_FILE,user32-GetRawInputDeviceList/0001-user32-Set-last-error-when-GetRawInputDeviceList-fai.patch)
|
||||
@( \
|
||||
echo '+ { "Andrew Church", "user32: Set last error when GetRawInputDeviceList fails.", 1 },'; \
|
||||
) > user32-GetRawInputDeviceList.ok
|
||||
|
||||
# Patchset user32-GetSystemMetrics
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
|
@ -0,0 +1,24 @@
|
||||
From 5d8bbfbf4bc409af8de7ad580e6cde74797c170c Mon Sep 17 00:00:00 2001
|
||||
From: Andrew Church <achurch+wine@achurch.org>
|
||||
Date: Thu, 4 Dec 2014 14:57:46 +0100
|
||||
Subject: user32: Set last error when GetRawInputDeviceList fails.
|
||||
|
||||
---
|
||||
dlls/user32/input.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/dlls/user32/input.c b/dlls/user32/input.c
|
||||
index ec81e60..967b114 100644
|
||||
--- a/dlls/user32/input.c
|
||||
+++ b/dlls/user32/input.c
|
||||
@@ -493,6 +493,7 @@ UINT WINAPI GetRawInputDeviceList(RAWINPUTDEVICELIST *devices, UINT *device_coun
|
||||
if (*device_count < 2)
|
||||
{
|
||||
*device_count = 2;
|
||||
+ SetLastError(ERROR_INSUFFICIENT_BUFFER);
|
||||
return ~0U;
|
||||
}
|
||||
|
||||
--
|
||||
2.1.3
|
||||
|
1
patches/user32-GetRawInputDeviceList/definition
Normal file
1
patches/user32-GetRawInputDeviceList/definition
Normal file
@ -0,0 +1 @@
|
||||
Fixes: [37667] Set last error when GetRawInputDeviceList fails
|
Loading…
Reference in New Issue
Block a user