user32: Return a fake device notification handle in
RegisterDeviceNotificationA
Louis. Lenders
xerox_xerox2000 at yahoo.co.uk
Sun Oct 8 13:35:16 CDT 2006
Skipped content of type multipart/alternative-------------- next part --------------
diff --git a/dlls/user/misc.c b/dlls/user/misc.c
index d5691f0..91f3787 100644
--- a/dlls/user/misc.c
+++ b/dlls/user/misc.c
@@ -541,8 +541,9 @@ DWORD WINAPI RegisterTasklist (DWORD x)
*/
HDEVNOTIFY WINAPI RegisterDeviceNotificationA(HANDLE hnd, LPVOID notifyfilter, DWORD flags)
{
- FIXME("(hwnd=%p, filter=%p,flags=0x%08x), STUB!\n", hnd,notifyfilter,flags );
- return 0;
+ FIXME("(hwnd=%p, filter=%p,flags=0x%08x),\n\
+ returns a fake device notification handle!\n", hnd,notifyfilter,flags );
+ return (HDEVNOTIFY) 0xcafecafe;
}
/***********************************************************************
More information about the wine-patches
mailing list