RegisterDeviceNotificationW(3w)

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.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.