I would write an application for Snow Leopard 10.6.x that enumerates all windows open in all Spaces, so I need APIs to
- detect if Spaces is enabled
- get Spaces count
- get a list of windows for single Spaces
I was unable to find similar API maybe due to my stupidity, may you help me to move to the right direction?