title | description | ms.assetid | keywords | topic_type | api_name | api_location | api_type | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | ms.topic | ms.date | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WM_INPUT_DEVICE_CHANGE message (Winuser.h) |
Sent to the window that registered to receive raw input. A window receives this message through its WindowProc function. |
2f98d8ea-b47b-4dea-9c38-f9697b18053a |
|
|
|
|
|
winuser.h |
Windows.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
reference |
05/31/2018 |
Sent to the window that registered to receive raw input.
Raw input notifications are available only after the application calls RegisterRawInputDevices with RIDEV_DEVNOTIFY flag.
A window receives this message through its WindowProc function.
#define WM_INPUT_DEVICE_CHANGE 0x00FE
-
wParam
-
Type: WPARAM
This parameter can be one of the following values.
Value Meaning GIDC_ARRIVAL
1A new device has been added to the system.
You can call GetRawInputDeviceInfo to get more information regarding the device.GIDC_REMOVAL
2A device has been removed from the system. -
lParam
-
Type: LPARAM
The HANDLE to the raw input device.
If an application processes this message, it should return zero.
Conceptual
Reference