SAMPLE: Demonstration of WH_CALLWNDPROC & WH_GETMESSAGE HooksLast reviewed: February 15, 1996Article ID: Q76588 |
The information in this article applies to:
HOOKALL is a sample program in the Software Library that demonstrates the use of WH_GETMESSAGE and WH_CALLWNDPROC hooks. The sample contains the code for a dynamic-link library (DLL) with functions to set and remove the hooks, as well as the hook filter functions. The filter functions use OutputDebugString to display a message when they receive a WM_LBUTTONDOWN message. The sample also contains code for an application that tests the DLL. Download HOOKALL.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services:
|
Additional reference words: 3.00 3.10 softlib HOOKALL.EXE
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |