INPUT_MESSAGE_DEVICE_TYPE enumeration

The type of device that sent the input message.

Syntax


typedef enum tagINPUT_MESSAGE_DEVICE_TYPE { 
  IMDT_UNAVAILABLE  = 0,  // 0x0
  IMDT_KEYBOARD     = 1,  // 0x1
  IMDT_MOUSE        = 2,  // 0x2
  IMDT_TOUCH        = 4,  // 0x4
  IMDT_PEN          = 8,  // 0x8
  IMDT_TOUCHPAD     = 16 // 0x10
} INPUT_MESSAGE_DEVICE_TYPE;

Constants

IMDT_UNAVAILABLE

The device type isn't identified.

IMDT_KEYBOARD

Keyboard input.

IMDT_MOUSE

Mouse input.

IMDT_TOUCH

Touch input.

IMDT_PEN

Pen or stylus input.

IMDT_TOUCHPAD

Touchpad input (Windows 8.1 and later).

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

None supported

Header

Winuser.h

See also

Enumerations

 

 

Community Additions

ADD
Show:
© 2014 Microsoft