RegisterDeviceNotificationW3w
Usage
HDEVNOTIFY RegisterDeviceNotificationW
(
HANDLE hRecepient,
LPVOID pNotificationFilter,
DWORD dwFlags
)
Overview
Registers a window with the system so that it will receive notifications about a device.
Params
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.
Returns
A handle to the device notification.
Notes
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
Implementation
Declared in "winuser.h".
Implemented in "dlls/user32/misc.c".
Debug channel "win".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.