user32: Make RegisterDeviceNotificationW behave likeRegisterDeviceNotificationA.

This commit is contained in:
Martin Profittlich 2008-08-06 22:41:17 +02:00 committed by Alexandre Julliard
parent fb62d06151
commit b83de4adef
1 changed files with 3 additions and 2 deletions

View File

@ -564,8 +564,9 @@ HDEVNOTIFY WINAPI RegisterDeviceNotificationA(HANDLE hnd, LPVOID notifyfilter, D
*/ */
HDEVNOTIFY WINAPI RegisterDeviceNotificationW(HANDLE hRecepient, LPVOID pNotificationFilter, DWORD dwFlags) HDEVNOTIFY WINAPI RegisterDeviceNotificationW(HANDLE hRecepient, LPVOID pNotificationFilter, DWORD dwFlags)
{ {
FIXME("(hwnd=%p, filter=%p,flags=0x%08x), STUB!\n", hRecepient,pNotificationFilter,dwFlags ); FIXME("(hwnd=%p, filter=%p,flags=0x%08x),\n"
return 0; "\treturns a fake device notification handle!\n", hRecepient,pNotificationFilter,dwFlags );
return (HDEVNOTIFY) 0xcafeaffe;
} }
/*********************************************************************** /***********************************************************************