• 钩子教程


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

  • 相关阅读:
    win10上使用linux命令
    leetcode--js--Median of Two Sorted Arrays
    leetcode--js--Longest Substring Without Repeating Characters
    Linux常用的命令
    微信小程序
    leetcode—js—Add Two Numbers
    PHPExcel使用
    console控制台的用法
    git中常混淆的操作
    mysql解析json下的某个字段
  • 原文地址:https://www.cnblogs.com/DuanLaoYe/p/5501696.html
Copyright © 2020-2023  润新知