VC++ INPUT Structure
来源:互联网 发布:省市县乡 json 编辑:程序博客网 时间:2024/05/17 04:00
INPUT Structure
The INPUT structure is used by SendInput to store information for synthesizing input events such as keystrokes, mouse movement, and mouse clicks.
Syntax
typedef struct tagINPUT { DWORD type; union {MOUSEINPUT mi; KEYBDINPUT ki; HARDWAREINPUT hi; }; }INPUT, *PINPUT;
Members
- type
- Specifies the type of the input event. This member can be one of the following values.
INPUT_MOUSE
- The event is a mouse event. Use the mi structure of the union.
INPUT_KEYBOARD
- The event is a keyboard event. Use the ki structure of the union.
INPUT_HARDWARE
- Windows 95/98/Me: The event is from input hardware other than a keyboard or mouse. Use the hi structure of the union.
- mi
- A MOUSEINPUT structure that contains information about a simulated mouse event.
- ki
- A KEYBDINPUT structure that contains information about a simulated keyboard event.
- hi
- Windows 95/98/Me: A HARDWAREINPUT structure that contains information about a simulated event from input hardware other than a keyboard or mouse.
Remarks
This structure contains information identical to that used in the parameter list of the keybd_event or mouse_event function.
Windows 2000/XP: INPUT_KEYBOARD supports nonkeyboard input methods, such as handwriting recognition or voice recognition, as if it were text input by using the KEYEVENTF_UNICODE flag. For more information, see the remarks section of KEYBDINPUT.
- VC++ INPUT Structure
- VC++ STARTUPINFO Structure
- VC++ Keyboard Input
- structure
- Input
- INPUT
- input
- input()
- input
- input
- input
- input
- input
- input
- input
- input
- input
- input
- VC++ keybd-event
- VC++ MapVirtualKey
- VC++ MapVirtualKeyEx
- VC++ LoadKeyboardLayout
- VC++ GetKeyState
- VC++ INPUT Structure
- VC++ mouse_event
- VC++ GetMessageExtraInfo
- Symbian C++学习之——菜单基础
- 初学者必备:C++经典入门详细教程
- VC++ SetMessageExtraInfo
- VC++ Messages and Message Queues
- 2009年4月开发语言排行榜
- VC++ Keyboard Input