通知2:WM_QUEUESYNC Notification
The WM_QUEUESYNC message is sent by a computer-based training (CBT) application to separate user-input messages from other messages sent through the WH_JOURNALPLAYBACK Hook procedure.
WM_QUEUESYNC消息是由CBT应用程序送出的,用来区分用户输入的消息和其它由WH_JOURNALPLAYBACK钩子子程发出的消息。
Syntax :WM_QUEUESYNC
Return Value 返回值
A CBT application should return zero if it processes this message.
如果CBT应用程序处理该消息,返回值应该是0。
Remarks 备注
Whenever a CBT application uses the WH_JOURNALPLAYBACK Hook procedure, the first and last messages are WM_QUEUESYNC. This allows the CBT application to intercept and examine user-initiated messages without doing so for events that it sends.
If an application specifies a NULL window handle, the message is posted to the message queue of the active window.
不管CBT应用程序什么时候使用WH_JOURNALPLAYBACK钩子子程,第一个和最后一个消息都是WM_QUEUESYNC.这样的话,CBT应用程序就能够截取、检验用户初始化的消息,而不需要对它自己送出的程序也这样做。
Helios 2007-5-31
WM_QUEUESYNC消息在计算机辅助训练(CBT)应用中用于区分用户输入消息和其他通过WH_JOURNALPLAYBACK钩子过程发送的消息。当CBT应用使用WH_JOURNALPLAYBACK钩子时,第一个和最后一个消息都是WM_QUEUESYNC,允许CBT应用拦截并检查用户发起的消息而不处理自身发送的事件。如果指定NULL窗口句柄,消息将被发送到活跃窗口的消息队列。
511

被折叠的 条评论
为什么被折叠?



