windows - Determine the caller process of a Win32 function -


is there way determine process has called win32 function. need hook few functions , in addition need determine process has called function. done hooking functions findnextfile() , winsock functions send() , receive() using ms detours problem later part i.e. determining caller process. kindly help.

your hook run in context of calling process, may call getcurrentprocessid or similar function returns need know process.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -