Remoteunlock is detected as a virus or malware. Using API's does anybody knows how to unlock my own session by scripting?
I've looked a bit at the code of remoteunlock but couldn't make it work in autoit: http://www.koders.com/cpp/fid1A233D0BFD7492ABC4204274273FE4FC84911367.aspx?s=iostream
What am I doing wrong?
Local Const $DESKTOP_SWITCHDESKTOP = 0x100
$hDesktop = DllCall("User32.dll", "int", "OpenDesktop", "str", "Default", "int", 0, "int", 0, "int", $DESKTOP_SWITCHDESKTOP)
$iRet = DllCall("User32.dll", "int", "SwitchDesktop", "int", $hDesktop[0])