网站首页  词典首页

请输入您要查询的函数:

 

术语 callnexthookex
释义 CallNextHookEx
语法:
LRESULT CallNextHookEx( HHOOK hhk,
int nCode,
WPARAM wParam,
LPARAM lParam
);
CallNextHookEx函数
该CallNextHookEx函数传递信息的挂钩在目前挂钩链下挂钩过程。挂钩过程可以调用此函数之前或之后的信息处理挂钩。
参数
人发角蛋白
[in]在Windows 95/98/ME:处理当前的钩。一个应用程序接收这个句柄作为一个先前调用的结果向SetWindowsHookEx函数。
视窗NT/XP/2003:忽略。
nCode
[in]指定钩子代码传递给当前的挂钩过程。接下来的挂钩过程使用此代码来确定如何处理挂钩的信息。
wParam
[in]指定wParam值传递到当前挂钩过程。这个参数的含义取决于与当前钩子链相关吊钩式。
lparam的
[in]指定lParam值传递到目前的挂钩过程。这个参数的含义取决于与当前钩子链相关吊钩式。
返回值
此值由链中的下一个钩子程序。目前挂钩过程也必须返回这个值。在返回值的含义取决于挂钩类型。有关详细信息,了解各挂钩程序的说明。
备注
钩子程序安装在特定类型的钩子链。 CallNextHookEx调用链中的下钩。
调用CallNextHookEx是可选的,但强烈建议,否则,已安装的其他应用程序挂钩钩将不会收到通知,并可能表现为一个结果不正确。您应该调用CallNextHookEx,除非您绝对需要,以防止被其他应用程序的通知。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为Unicode版本。
参见
钩概述,钩子,UnhookWindowsHookEx
==英文原文==CallNextHookEx Function
The CallNextHookEx function passes the hook information to the next hook procedure in the current hook chain. A hook procedure can call this function either before or after processing the hook information.
Syntax
LRESULT CallNextHookEx( HHOOK hhk,
int nCode,
WPARAM wParam,
LPARAM lParam
);
Parameters
hhk
[in] Windows 95/98/ME: Handle to the current hook. An application receives this handle as a result of a previous call to the SetWindowsHookEx function.
Windows NT/XP/2003: Ignored.
nCode
[in] Specifies the hook code passed to the current hook procedure. The next hook procedure uses this code to determine how to process the hook information.
wParam
[in] Specifies the wParam value passed to the current hook procedure. The meaning of this parameter depends on the type of hook associated with the current hook chain.
lParam
[in] Specifies the lParam value passed to the current hook procedure. The meaning of this parameter depends on the type of hook associated with the current hook chain.
Return Value
This value is returned by the next hook procedure in the chain. The current hook procedure must also return this value. The meaning of the return value depends on the hook type. For more information, see the descriptions of the individual hook procedures.
Remarks
Hook procedures are installed in chains for particular hook types. CallNextHookEx calls the next hook in the chain.
Calling CallNextHookEx is optional, but it is highly recommended; otherwise, other applications that have installed hooks will not receive hook notifications and may behave incorrectly as a result. You should call CallNextHookEx unless you absolutely need to prevent the notification from being seen by other applications.
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
UnicodeImplemented as Unicode version.
See Also
Hooks Overview , SetWindowsHookEx , UnhookWindowsHookEx
==原始网址==http://msdn.microsoft.com/en-us/library/ms644974(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:26:52