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
David EnglerPosted Jun 24, 2008, 10:26 AM
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.
David EnglerPosted Jun 23, 2008, 12:57 PM
Bechir BejaouiPosted Jun 23, 2008, 12:35 PM