Method CallNextHook
CallNextHook(IntPtr, int, IntPtr, IntPtr)
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.
public static IntPtr CallNextHook(IntPtr hhk, int code, IntPtr wparam, IntPtr lparam)
Parameters
hhkIntPtrHandle to the current hook.
codeintHook code passed to the current hook procedure.
wparamIntPtrSpecifies the wparam value passed to the current hook procedure.
lparamIntPtrSpecifies the lparam value passed to the current hook procedure.
Returns
- IntPtr
This value is returned by the next hook procedure in the chain.