Click to open or copy the files for the Dll sample.
hook.c is the source for the Windows message spy application dll.
The Spy source files are described in App.
This sample uses the following keywords:
callnexthookex; dbgprintf; dllmain; findspywindow; findwindow; getwindowlong; hookproc; ischild; iswindow; outputdebugstring; sendmessage; spycallwndproc; spygetmsgproc; text; unreferenced_parameter; va_end; va_start; wvsprintf