An open API service indexing awesome lists of open source software.

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

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.