I am trying to code a small app that sits in tye System Tray and
that Minimizes all Desktop windows just as using <windows key>-M does.

I tried using EnumDesktopWindows, but i get other windows that
are not visible, so i end up minimizing lots of unwanted windows.

Is there an easiear way ? Do i have to filter the windows i get
back from EnumDesktopWindows ? and if so, how do i filter them ?

Thanks in advance.