Module: wine Branch: master Commit: b072f85610bd22ef096323bb3935a70070e911b9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b072f85610bd22ef096323bb39...
Author: Louis. Lenders xerox_xerox2000@yahoo.co.uk Date: Sun Oct 8 19:35:16 2006 +0100
user32: Return a fake device notification handle in RegisterDeviceNotificationA.
---
dlls/user/misc.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
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; }
/***********************************************************************