How unhook APIs Message of a remote process?

I am developing a project which needs to unhook some API messages from other processes.

I know that it is possible to do this task because this option exists in PC Hunter ( http://www.baixaki.com.br/download/pc-hunter.htm ).

http://image.prntscr.com/image/dc3830c728a5411d838333578374bb94.png

I’ve already searched about this subject but until now i found only how enumerate these hooks, and not how unhook.

Using a driver.sys:
http://blog.airesoft.co.uk/2011/07/hookers-underneath-the-sheets/#find

In user mode:
https://forum.sysinternals.com/gethooks-for-windows-x86-xp-vista-7-8_topic27545.html

Can someone help me with this ( unhook these hooks )?

Thank you.