Well, I'll make a program that will serve as a GUI to make hooks. My program will inject a DLL made ​​in C ++ in a process. What I wanted to do is that when the hooked function was called the DLL somehow call a function in AutoIt with the parameters of the hooked function.    In short I want the DLL call a function within my AutoIt program passing parameters.