WH_CALLWNDPROC, WH_GETMESSAGE Hooks Sample CodeLast reviewed: February 15, 1996Article ID: Q81332 |
The information in this article applies to:
HOOKALL2 is a file in the Microsoft Software Library that demonstrates using the WH_GETMESSAGE and WH_CALLWNDPROC hooks in Windows 3.1. HOOKALL2 contains the code for a dynamic-link library (DLL) with functions that set and remove the hooks, as well as the hook filter functions. The DLL uses the new hook functions provided by Windows 3.1: SetWindowsHookEx, UnhookWindowsHookEx, and CallNextHookEx. HOOKALL2 also contains code for a TESTHOOK application that tests the DLL. HOOKALL2 updates the HOOKALL sample to use the features provided by Windows 3.1. For more information about HOOKALL, query on the following words in the Microsoft Knowledge Base:
hookallDownload HOOKALL2.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services:
|
Additional reference words: 3.10 softlib HOOKALL2.EXE
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |