zoukankan      html  css  js  c++  java
  • 钩子教程

    原文地址:http://www.zdexe.com/program/201004/600.html

    通知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应用程序就能够截取、检验用户初始化的消息,而不需要对它自己送出的程序也这样做。

  • 相关阅读:
    memcpy源代码
    XML总结
    javabean总结
    VC++注射过程
    八排序算法
    fscanf功能具体解释
    外行观察者模式
    Android 实现用户列表信息的功能,然后选择删除幻灯片删除功能
    WINHTTP的API接口说明
    poj 1698 Alice's Chance 拆点最大流
  • 原文地址:https://www.cnblogs.com/DuanLaoYe/p/5501696.html
Copyright © 2011-2022 走看看