HookAll.exe Demos WH_CALLWNDPROC & WH_GETMESSAGE Hooks

ID: Q76588


The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) versions 3.0, 3.1


SUMMARY

HookAll.exe 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.


MORE INFORMATION

The following files are available for download from the Microsoft Download Center. Click the file names below to download the files:

HookAll.exe

For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address

http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

Additional query words:

Keywords : kbfile kbsample kb16bitonly kbHook kbGrpUser kbWinOS310 kbWinOS300
Version : WINDOWS:3.0,3.1
Platform : WINDOWS
Issue type :


Last Reviewed: December 4, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.