user32: Return a fake device notification handle in RegisterDeviceNotificationA.

This commit is contained in:
Louis. Lenders 2006-10-08 19:35:16 +01:00 committed by Alexandre Julliard
parent 2d6b45081b
commit b072f85610
1 changed files with 3 additions and 2 deletions

View File

@ -541,8 +541,9 @@ DWORD WINAPI RegisterTasklist (DWORD x)
*/ */
HDEVNOTIFY WINAPI RegisterDeviceNotificationA(HANDLE hnd, LPVOID notifyfilter, DWORD flags) HDEVNOTIFY WINAPI RegisterDeviceNotificationA(HANDLE hnd, LPVOID notifyfilter, DWORD flags)
{ {
FIXME("(hwnd=%p, filter=%p,flags=0x%08x), STUB!\n", hnd,notifyfilter,flags ); FIXME("(hwnd=%p, filter=%p,flags=0x%08x),\n\
return 0; returns a fake device notification handle!\n", hnd,notifyfilter,flags );
return (HDEVNOTIFY) 0xcafecafe;
} }
/*********************************************************************** /***********************************************************************