I am working on closing a screensaver with a MScomm event. I've figured out how on win95, using enumwindows to get all hWnd windows then comparing classnames with WindowsScreenSaverClass using getclassname.

I've gotten information from a previous forum that the screensaver on NT is on a different desktop. How do I get at the other desktops? I'm not sure what the hwinsta is for the function EnumDesktops. Could someone offer some advice? Thanks in advance.