XP has the ability to hide inactive icons in the notification area, but as far as I know the icons are still in the tray, but ITrayIcons.ItemCount does not return the inactive icons as part of the count, how come?
If I remember right, I was able to enumerate such "hidden" tray icons, but I found no way to actively control them. So I simply skipped them during enumeration.