Why hasn't the API hook mechanism for x64 been standardized like it was for x86?

Raymond Chen

Joshua posted to the Suggestion Box, “Around the time of WinXP SP2 x86, the API hook mechanism was standardized. Why wasn’t the same thing done for x64?” Who said it was standardized for x86? Hooking APIs is not supported by Windows. There may be specific interfaces that expose hooks (like Co­Register­Initialize­Spy to let you monitor calls to CoInitialize and CoUninitialize, and Set­Windows­Hook­Ex to let you hook various window manager operations) but there is no supported general API hooking mechanism provided by the operating system.

So I don’t know where you got that idea from.

0 comments

Discussion is closed.

Feedback usabilla icon