June 2001
Intermediate to advanced
706 pages
24h 10m
English
CallNextHookEx
Used in a hook’s filter function to send information on to the next hook in the chain:
Private Declare Function CallNextHookEx Lib "user32"_ (ByVal hHook As Long, _ ByVal ncode As Long, _ ByVal wParam As Long, _ lParam As Any) As Long
hHook
The handle to the hook. The SetWindowHookEx function returns this hook handle.
ncode
A constant identifying the hook code.
wParam
The wParam argument passed in to the hook
filter function. The value of this argument depends on the message
that it is associated with.
lParam
The lParam argument passed in to the hook
filter function. The value of this argument depends on the message
that it is associated with.
The return value depends on the type of hook that is installed.
Read now
Unlock full access