Chapter 10. WH_CALLWNDPROCRET

The next logical choice of hooks to discuss is the WH_CALLWNDPROCRET hook. This hook intercepts messages not only after the WH_CALLWNDPROC hook has intercepted the message, but also after the window procedure has processed the message. This chapter will discuss the WH_CALLWNDPROCRET hook and compare and contrast it with the WH_CALLWNDPROC hook, which was discussed in Chapter 9.

Get Subclassing and Hooking with Visual Basic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.