Originariamente inviato da oregon
Piu' o meno come ti avevo detto ...
Esatto.

Peccato poi che...
SwitchDesktop also fails when called from a process associated with a secured desktop, such as the WinLogon and ScreenSaver desktops.
Temo proprio che non sia possibile fare quello che voglio...
Ho provato anche ad assegnare il thread dello screensaver al desktop Default tramite SetThreadDesktop ma anche in questo caso la funzione fallisce (GetLastError=170 -> The requested resource is in use)