GET_DEVICE_LPARAM macro (winuser.h)
Retrieves the input device type from the specified LPARAM value.
C++
void GET_DEVICE_LPARAM(
lParam
);
lParam
The value to be converted.
The return value is the bit of the high-order word representing the input device type. It can be one of the following values.
Return code/value | Description |
---|---|
FAPPCOMMAND_KEY 0 | User pressed a key. |
FAPPCOMMAND_MOUSE 0x8000 | User clicked a mouse button. |
FAPPCOMMAND_OEM 0x1000 | An unidentified hardware source generated the event. It could be a mouse or a keyboard event. |
None
This macro is identical to the GET_MOUSEORKEY_LPARAM macro.
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | winuser.h (include Windows.h) |