Link to home
Start Free TrialLog in
Avatar of Toad224
Toad224Flag for United States of America

asked on

Hook Windows API Calls:

I would like to know how I could hook Windows 9x API calls from other programs, and find out what parameters were sent.  Please show me an example in C++ of how I could hook windows API calls.
ASKER CERTIFIED SOLUTION
Avatar of chensu
chensu
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Detours is a library for instrumenting arbitrary Win32 functions on x86 machines. Detours intercepts Win32 functions by re-writing target function images.
http://research.microsoft.com/sn/detours/