Method SetMouseHook
SetMouseHook(HookHandler)
Installs hook procedure that monitors mouse messages into a hook chain.
public static IntPtr SetMouseHook(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.