Using Easy hooks the same way to use detours

Mar 28, 2011 at 8:15 PM

Hey,

 

I am currently using detours to intercept calls to CreateProcess API, I've my detoured function and so any call from the OS to the CreateProcess API would redirect to my detoured function where I do some processing and forward the call.

 

I am trying to do the samething in Easyhook but can't find a direct or easy way to do it, what's the simplest way to do that?

 

Note: I am using unmanaged code only.