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 ( ).

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:

In user mode:

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

Thank you.