Rémi Bernon : user32: Remove FIXME from RegisterDeviceNotificationA.
Alexandre Julliard
julliard at winehq.org
Fri Jan 28 14:29:32 CST 2022
Module: wine
Branch: master
Commit: 30af95f45da07dbdc20f6c1684140803354b23db
URL: https://source.winehq.org/git/wine.git/?a=commit;h=30af95f45da07dbdc20f6c1684140803354b23db
Author: Rémi Bernon <rbernon at codeweavers.com>
Date: Fri Jan 28 10:02:30 2022 +0100
user32: Remove FIXME from RegisterDeviceNotificationA.
There's no conversion to do, the device name in the filter is ignored.
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/user32/input.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/dlls/user32/input.c b/dlls/user32/input.c
index 67ca7e178f2..fde4b9965ed 100644
--- a/dlls/user32/input.c
+++ b/dlls/user32/input.c
@@ -1186,13 +1186,9 @@ extern BOOL WINAPI I_ScUnregisterDeviceNotification( HDEVNOTIFY handle );
*
* See RegisterDeviceNotificationW.
*/
-HDEVNOTIFY WINAPI RegisterDeviceNotificationA(HANDLE hRecipient, LPVOID pNotificationFilter, DWORD dwFlags)
+HDEVNOTIFY WINAPI RegisterDeviceNotificationA( HANDLE handle, void *filter, DWORD flags )
{
- TRACE("(hwnd=%p, filter=%p,flags=0x%08x)\n",
- hRecipient,pNotificationFilter,dwFlags);
- if (pNotificationFilter)
- FIXME("The notification filter will requires an A->W when filter support is implemented\n");
- return RegisterDeviceNotificationW(hRecipient, pNotificationFilter, dwFlags);
+ return RegisterDeviceNotificationW( handle, filter, flags );
}
/***********************************************************************
More information about the wine-cvs
mailing list