Then you won't be hooking this function any time soon.
Look, this is not trivial. If you don't understand the basics of what I'm talking about, then you cannot write it. I don't think anyone else here is interested in writing it, not without getting paid at least. I certainly am not.
You need to do some
research. If you had pointed at some particular aspect of my post and said, "hey, I almost get what you mean, but I'm not sure about XXX" then I might be able to be more helpful.
As it was you just quoted my entire post as if you haven't a clue what it means. It would take too long to simplify such a complex topic to someone with an unknown grasp of the fundamentals.