What's Wrong with Detours?

Detours is a developer library provided by Microsoft to hook (re-routing) functions, so you can intercept all calls to, for example, CreateFile in an application.

Unfortunately, the free version of Detours supports 32-bit applications only. If one needs to work with 64-bit code, Detours Professional Edition is available, and it costs $10000.