+ -
当前位置:首页 → 问答吧 → SendInput函数与keybd_event函数是将案件事件放在哪个消息队列里了?

SendInput函数与keybd_event函数是将案件事件放在哪个消息队列里了?

时间:2011-11-27

来源:互联网

SendInput函数与keybd_event函数是将案件事件放在哪个消息队列里了?

是线程消息队列还是系统消息队列。

是不是只有调用这两个函数的进程才能获取他们插入的消息?

系统消息队列可不可以由应用程序自动插入消息?

作者: chj_2003   发布时间: 2011-11-27

没人理我,自己顶

作者: chj_2003   发布时间: 2011-11-29

C/C++ code
The SendInput function inserts the events in the INPUT structures serially into the keyboard or mouse input stream. These events are not interspersed with other keyboard or mouse input events inserted either by the user (with the keyboard or mouse) or by calls to keybd_event, mouse_event, or other calls to SendInput.


键盘鼠标事件都是系统事件。。WM_KEYDOWN,WM_KEYUP 等等这些系统事件

作者: shen_wei   发布时间: 2011-11-29