Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The type of device that sent the input message.
Syntax
typedef enum tagINPUT_MESSAGE_DEVICE_TYPE {
IMDT_UNAVAILABLE = 0x00000000,
IMDT_KEYBOARD = 0x00000001,
IMDT_MOUSE = 0x00000002,
IMDT_TOUCH = 0x00000004,
IMDT_PEN = 0x00000008,
IMDT_TOUCHPAD = 0x00000010
} INPUT_MESSAGE_DEVICE_TYPE;
Constants
IMDT_UNAVAILABLEValue: 0x00000000 The device type isn't identified. |
IMDT_KEYBOARDValue: 0x00000001 Keyboard input. |
IMDT_MOUSEValue: 0x00000002 Mouse input. |
IMDT_TOUCHValue: 0x00000004 Touch input. |
IMDT_PENValue: 0x00000008 Pen or stylus input. |
IMDT_TOUCHPADValue: 0x00000010 Touchpad input (Windows 8.1 and later). |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | None supported |
| Header | winuser.h |