[PATCH] user32: Add DECLSPEC_HOTPATCH to RegisterDeviceNotification{A, W} Wine-bug: https://bugs.winehq.org/show_bug.cgi?id=47097
Louis Lenders
xerox.xerox2000x at gmail.com
Mon Apr 29 09:54:45 CDT 2019
Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
---
dlls/user32/misc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/user32/misc.c b/dlls/user32/misc.c
index d28cd9fd05..bd4795a346 100644
--- a/dlls/user32/misc.c
+++ b/dlls/user32/misc.c
@@ -363,7 +363,7 @@ DWORD WINAPI RegisterTasklist (DWORD x)
*
* See RegisterDeviceNotificationW.
*/
-HDEVNOTIFY WINAPI RegisterDeviceNotificationA(HANDLE hnd, LPVOID notifyfilter, DWORD flags)
+HDEVNOTIFY WINAPI DECLSPEC_HOTPATCH RegisterDeviceNotificationA(HANDLE hnd, LPVOID notifyfilter, DWORD flags)
{
FIXME("(hwnd=%p, filter=%p,flags=0x%08x) returns a fake device notification handle!\n",
hnd,notifyfilter,flags );
@@ -393,7 +393,7 @@ HDEVNOTIFY WINAPI RegisterDeviceNotificationA(HANDLE hnd, LPVOID notifyfilter, D
*| DEVICE_NOTIFY_WINDOW_HANDLE - hRecipient is a window handle
*| DEVICE_NOTIFY_SERVICE_HANDLE - hRecipient is a service status handle
*/
-HDEVNOTIFY WINAPI RegisterDeviceNotificationW(HANDLE hRecipient, LPVOID pNotificationFilter, DWORD dwFlags)
+HDEVNOTIFY WINAPI DECLSPEC_HOTPATCH RegisterDeviceNotificationW(HANDLE hRecipient, LPVOID pNotificationFilter, DWORD dwFlags)
{
FIXME("(hwnd=%p, filter=%p,flags=0x%08x) returns a fake device notification handle!\n",
hRecipient,pNotificationFilter,dwFlags );
--
2.20.1
More information about the wine-devel
mailing list