Module: wine Branch: master Commit: b83de4adef5d2308db8042ceb7ed06c87c83f3bb URL: http://source.winehq.org/git/wine.git/?a=commit;h=b83de4adef5d2308db8042ceb7...
Author: Martin Profittlich martin.profittlich@gmx.de Date: Wed Aug 6 22:41:17 2008 +0200
user32: Make RegisterDeviceNotificationW behave likeRegisterDeviceNotificationA.
---
dlls/user32/misc.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/user32/misc.c b/dlls/user32/misc.c index 65176e3..f91be62 100644 --- a/dlls/user32/misc.c +++ b/dlls/user32/misc.c @@ -564,8 +564,9 @@ HDEVNOTIFY WINAPI RegisterDeviceNotificationA(HANDLE hnd, LPVOID notifyfilter, D */ HDEVNOTIFY WINAPI RegisterDeviceNotificationW(HANDLE hRecepient, LPVOID pNotificationFilter, DWORD dwFlags) { - FIXME("(hwnd=%p, filter=%p,flags=0x%08x), STUB!\n", hRecepient,pNotificationFilter,dwFlags ); - return 0; + FIXME("(hwnd=%p, filter=%p,flags=0x%08x),\n" + "\treturns a fake device notification handle!\n", hRecepient,pNotificationFilter,dwFlags ); + return (HDEVNOTIFY) 0xcafeaffe; }
/***********************************************************************