I want to use pystray to write a program for Windows that tracks disk activity on my C-drive. Whenver data being written to the disk, I want to change the icon dynamically. But the problem is that pystray itself creates disk activity because the icon is first written to disk and then loaded back via win32.LoadImage(). Would it be possible to do it all in memory only, e.g. by using the Win32 function CreateIcon()?