Hello,
Thank you for your answer.
Well, in fact, what I need to do is moving applications not developed by me (i.e, notepad.exe)
If look at Virtual Desktop Manager from Powertoys (http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx), it creates several virtual desktops in the same WindowStation.
I know there are similar applications that can move running apps (notepad.exe, calc.exe..) from one virtual desktop to another, without the need of closing it and reopening it again (and then passing the new desktop handle [HDESK] on the call to CreateProcess), but even after reading all the related msdn documentation, I still can not figure how to do it :|
I thought on SetProcessWindowStation too, but as far as I now, all new virtual desktops created with CreateDesktop function are on the same WindowStation, so...
Maybe I missed something ?