Method SetWndProcHook
SetWndProcHook(HookHandler)
Installs hook procedure that monitors messages before the system sends them to the destination window procedure into a hook chain.
public static IntPtr SetWndProcHook(HookHandler lpfn)
Parameters
lpfn
HookHandlerHook procedure.
Returns
- IntPtr
If the function succeeds, the return value is the handle to the hook procedure; otherwise return value is null.