RegisterDeviceNotificationW (USER32.@)
HDEVNOTIFY RegisterDeviceNotificationW ( HANDLE hRecepient, LPVOID pNotificationFilter, DWORD dwFlags )
Registers a window with the system so that it will receive notifications about a device.
hRecepient | [In] | Window or service status handle that will receive notifications. |
pNotificationFilter | [In] | DEV_BROADCAST_HDR followed by some type-specific data. |
dwFlags | [In] | See notes. |
A handle to the device notification.
The dwFlags parameter can be one of two values:
DEVICE_NOTIFY_WINDOW_HANDLE - hRecepient is a window handle DEVICE_NOTIFY_SERVICE_HANDLE - hRecepient is a service status handle
Defined in "winuser.h".
Implemented in "dlls/user32/misc.c". source.winehq.org/source/dlls/user32/misc.c
Debug channel "win".
Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2008.