https://github.com/forderud/iconmonitor
Sample DLL hook project for monitoring icon updates across applications
https://github.com/forderud/iconmonitor
Last synced: 10 months ago
JSON representation
Sample DLL hook project for monitoring icon updates across applications
- Host: GitHub
- URL: https://github.com/forderud/iconmonitor
- Owner: forderud
- License: mit
- Created: 2023-03-22T14:06:07.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-05T01:33:53.000Z (about 3 years ago)
- Last Synced: 2025-04-28T16:18:38.625Z (about 1 year ago)
- Language: C++
- Homepage:
- Size: 110 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IconMonitor
Sample project of DLL injection using [Windows hooks](https://learn.microsoft.com/en-us/windows/win32/winmsg/hooks) for intercepting icon update messages in different processes. The intercepted messages are communicated back through a [Windows pipe](https://learn.microsoft.com/en-us/windows/win32/ipc/using-pipes).
## How to test
* Start `MyWindowsApp.exe`. This will copy the window handle (HWND) for the application into the clipboard.
* Start `IconMonitorClient.exe ` to start the client application that monitors the windows app.
* Click inside the `MyWindowsApp` window body.
* Observe that the titlebar and Windows taskbar icons are updated.
* Observe that `IconMonitorClient` reports icon update events.