XRay

Xray is an OS/2 programmers utility to display process and window information for the window under the mouse pointer. Source demonstrates system hooks.

Source code available