943,028 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 1432
  • C++ RSS
May 6th, 2009
0

system wide api hook

Expand Post »
What is the best way to do system wide user mode (NOT KERNEL MODE) api hook on Windows NT?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
denis1401 is offline Offline
2 posts
since May 2009
May 6th, 2009
0

Re: system wide api hook

Sponsor
Team Colleague
Featured Poster
Reputation Points: 5591
Solved Threads: 2280
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,932 posts
since Aug 2005
May 6th, 2009
0

Re: system wide api hook

thanks, but I'm not interested in these hooks (like keyboard hooks, mouse event hooks, etc.)
I need to intercept/hook every call to a certain win32 api function on the system
How do I do that (without modifing the dll files on disk)?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
denis1401 is offline Offline
2 posts
since May 2009
May 6th, 2009
0

Re: system wide api hook

you can use the WH_CALLWNDPROC hook if the process you want has a window. Other than that, I don't know if its even possible to do what you want.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5591
Solved Threads: 2280
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,932 posts
since Aug 2005
May 7th, 2009
0

Re: system wide api hook

One way might be: open every process, find if they import that particular function, if they do find where they call it and idk you solve the rest.
Reputation Points: 888
Solved Threads: 114
Nearly a Posting Virtuoso
MosaicFuneral is offline Offline
1,270 posts
since Nov 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: edit in the file.
Next Thread in C++ Forum Timeline: Finding the value of a digit





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC