|
|
1.1 root 1: Sample: Monitoring System Events
2:
3: This sample uses a variety of thread-specific hook procedures to monitor
4: the system for events affecting a thread. It demonstrates how to process
5: events for the following types of hook procedures:
6:
7:
8: WH_CALLWNDPROC
9: WH_CBT
10: WH_DEBUG
11: WH_GETMESSAGE
12: WH_KEYBOARD
13: WH_MOUSE
14: WH_MSGFILTER
15:
16: In this sample, the user can install and remove a hook procedure by using
17: the menu. When a hook procedure is installed and an event that is monitored
18: by the procedure occurs, the procedure writes information about the event
19: to the client area of the application's main window.
20:
21:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.