I'm trying to find the number of window's open on the user's desktop. I know I have to use EnumWindows, but I can't find a good example on PSCode.com. Any help will be very much appreciated.

Thanks,
Sir Loin