dll函数高手请进
Set Star= CreateObject("Wscript.Shell")Star.Run "%windir%\System32\rundll32.exe user32.dll,LockWorkStation"
这是VBS,怎么改写成 autoit
还有,autoit怎么判断 桌面处于锁定状态?
[ 本帖最后由 xsw123 于 2008-12-4 19:46 编辑 ]
dllcall("user32.dll","none","LockWorkStation")
Local $Dll
$Dll = DllOpen(@WindowsDir & "\user32.dll")
DllCall($Dll, "none", "LockWorkStation")
DllClose($Dll) 原帖由 skyfree 于 2008-12-4 15:33 发表 http://www.autoitx.com/images/common/back.gif
Local $Dll
$Dll = DllOpen(@WindowsDir & "\user32.dll")
DllCall($Dll, "none", "LockWorkStation")
DllClose($Dll)
内存错误
2楼的行
页:
[1]