智动软件 - 站长优化推广网站好帮手
帐号: 密码: 注册会员
模糊 标题

钩子(HOOK)函数教程(二十八)

时间:2010-04-21 Tag: HOOK 钩子 教程 点击:统计中..

结构4CWPSTRUCT Structure 本文来自智动软件zdwork.cn

The CWPSTRUCT structure defines the message parameters passed to a WH_CALLWNDPROC hook procedure, CallWndProc.

智动软件

CWPSTRUCT 结构定义了传递给WH_CALLWNDPROC钩子子程CallWndProc的消息参数。 本文来自智动软件zdwork.cn

Syntax zdwork.cn

typedef struct { 

内容来自zdwork.cn

    LPARAM lParam; www.zdwork.cn 
    WPARAM wParam; 
zdwork.cn
    UINT message; 

copyright 智动软件

    HWND hwnd; 
智动软件
} CWPSTRUCT, *PCWPSTRUCT; 

zdwork.cn

Members 本文来自智动软件zdwork.cn

lParam  / wParam

内容来自zdwork.cn

Specifies additional information about the message. The exact meaning depends on the message value. 指定消息的附加信息。附加的意义取决于message的值。

本文来自智动软件zdwork.cn

message

zdwork.cn

Specifies the message. 指定消息 www.zdwork.cn

hwnd zdwork.cn

Handle to the window to receive the message. 接收消息的窗体的句柄。 zdwork.cn

 

结构5DEBUGHOOKINFO Structure

The DEBUGHOOKINFO structure contains debugging information passed to a WH_DEBUG hook procedure, DebugProc.

DEBUGHOOKINFO结构包含有传递给WH_DEBUG钩子子程DebugProc的调试信息。

内容来自zdwork.cn

Syntax

智动软件

typedef struct { www.zdwork.cn 
    DWORD idThread; zdwork.cn 
    DWORD idThreadInstaller; 

zdwork.cn

    LPARAM lParam; 内容来自zdwork.cn 
    WPARAM wParam; zdwork.cn 
    int code; zdwork.cn 
} DEBUGHOOKINFO, *PDEBUGHOOKINFO; 智动软件 

Members成员

内容来自zdwork.cn

idThread

内容来自zdwork.cn

Handle to the thread containing the filter function. 包含过滤方法的线程的句柄。 copyright 智动软件

idThreadInstaller 智动软件

Handle to the thread that installed the debugging filter function. 安装调试过滤方法的线程的句柄。

copyright 智动软件

lParam / wParam

copyright 智动软件

Specifies the value to be passed to the hook in the lParam parameter of the DebugProc callback function. 指定在DebugProc回调函数的lParam/ wParam 参数中,要传递给钩子的值。 本文来自智动软件zdwork.cn

code

www.zdwork.cn

Specifies the value to be passed to the hook in the nCode parameter of the DebugProc callback function. 指定在DebugProc回调函数的nCode 参数中,要传递给钩子的值。

www.zdwork.cn

 

www.zdwork.cn

结构6EVENTMSG Structure

内容来自zdwork.cn

The EVENTMSG structure contains information about a hardware message sent to the system message queue. This structure is used to store message information for the JournalPlaybackProc callback function. copyright 智动软件

该结构包含有关于硬件的消息,该消息被发送给系统的消息队列。该结构用来为JournalPlaybackProc回调函数存储消息的信息。 本文来自智动软件zdwork.cn

Syntax语法 内容来自zdwork.cn

typedef struct { 

zdwork.cn

    UINT message; 智动软件 
    UINT paramL; zdwork.cn 
    UINT paramH; 

智动软件

    DWORD time; 

copyright 智动软件

    HWND hwnd; 智动软件 
} EVENTMSG, *PEVENTMSG; zdwork.cn 

Members成员 zdwork.cn

message zdwork.cn

Specifies the message. 指定消息。

zdwork.cn

paramH / paramH

本文来自智动软件zdwork.cn

Specifies additional information about the message. The exact meaning depends on the message value. 指定消息的附加信息。附加的意义取决于message的值。 本文来自智动软件zdwork.cn

time

copyright 智动软件

Specifies the time at which the message was posted. 消息被传递时的时间

zdwork.cn

hwnd

智动软件

Handle to the window to which the message was posted. 消息被传给的窗口的句柄。

zdwork.cn

Helios  2007-5-31

智动软件

 

zdwork.cn

(责任编辑:admin)
顶一下
(0)
0%
踩一下
(0)
0%

推荐内容

热门内容

相关内容


关于我们 | 联系我们 | 代理合作 | 意见及建议

本站免费提供刷IP软件,另有邮件搜索软件等,需要定制软件或有建议可联系我们。联系方式:QQ:896186342 Email:zdwork@qq.com 滇ICP备08001410号.