I wish to simulate Ctrl+Alt+Delete.
From looking at the vnc source code, I see that thread has to be on desktop "Winlogon", so then when I call OpenDesktop "Winlogon" on Vista, I get return value of 0.
OpenDesktop("Winlogon", 0, false, DESKTOP_CREATEMENU | DESKTOP_CREATEWINDOW | DESKTOP_ENUMERATE | DESKTOP_HOOKCONTROL | DESKTOP_WRITEOBJECTS | DESKTOP_READOBJECTS | DESKTOP_SWITCHDESKTOP | GENERIC_WRITE);
Any one know how can I access the winlogon desktop?
Thank you
From looking at the vnc source code, I see that thread has to be on desktop "Winlogon", so then when I call OpenDesktop "Winlogon" on Vista, I get return value of 0.
OpenDesktop("Winlogon", 0, false, DESKTOP_CREATEMENU | DESKTOP_CREATEWINDOW | DESKTOP_ENUMERATE | DESKTOP_HOOKCONTROL | DESKTOP_WRITEOBJECTS | DESKTOP_READOBJECTS | DESKTOP_SWITCHDESKTOP | GENERIC_WRITE);
Any one know how can I access the winlogon desktop?
Thank you

Bechir BejaouiRank #144 · 15.9K reputationPosted Jun 23, 2008, 8:35 AM EDT
David Engler5 reputationPosted Jun 23, 2008, 8:57 AM EDT
David Engler5 reputationPosted Jun 24, 2008, 6:26 AM EDT
Here is a good example how to do it, but still I tried on vista, and OpenDesktop(Winlogon...) returned 0
Any help would be appreciated.