Currently it's a little hard to see without the Sysinternals tools whether the
monitor app is really doing anything - given that there's a "downloading"
indication in the Steam notification icon, some kind of matching overlay should
probably be drawn on my garish placeholder.
Arguably there are several kinds of overlays to draw - one based on whether
there is a download going to the "right" server, which is a state thing that
could perhaps be determined by iterating over connections using the IPHelper
APIs, and one which is a one-time "I did something" notification overlay.
The IPHelper stuff is probably best done by having the iteration done in the
filter itself, just to keep the monitor lightweight (no point in having it load
Winsock).
Note that IPHelper connection enumeration done via GetTcpTable2 or
GetExtendedTcpTable - SetTcpRow can be used to force-close a connection from
outside a process as administrator, but on Vista has UAC problems.
Original issue reported on code.google.com by nigel.bree@gmail.com on 14 Oct 2011 at 5:33
Original issue reported on code.google.com by
nigel.bree@gmail.com
on 14 Oct 2011 at 5:33