GitHub repository: shonker/Detours
Description: Detours is a software package for monitoring and instrumenting API calls on Windows.  It is distributed in source code form.