INPUT_MESSAGE_ORIGIN_ID enumeration (winuser.h)

The ID of the input message source.

Syntax

typedef enum tagINPUT_MESSAGE_ORIGIN_ID {
  IMO_UNAVAILABLE = 0x00000000,
  IMO_HARDWARE = 0x00000001,
  IMO_INJECTED = 0x00000002,
  IMO_SYSTEM = 0x00000004
} INPUT_MESSAGE_ORIGIN_ID;

Constants

 
IMO_UNAVAILABLE
Value: 0x00000000
The source isn't identified.
IMO_HARDWARE
Value: 0x00000001
The input message is from a hardware device or has been injected into the message queue by an application that has the UIAccess attribute set to TRUE in its manifest file.

For more information about the UIAccess attribute and application manifests, see UAC References.
IMO_INJECTED
Value: 0x00000002
The input message has been injected (through the SendInput function) by an application that doesn't have the UIAccess attribute set to TRUE in its manifest file.
IMO_SYSTEM
Value: 0x00000004
The system has injected the input message.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server None supported
Header winuser.h

See also

Enumerations