rolaka
发表于 2009-7-7 10:25:42
就按楼主这顶法迟早被版主叔叔ko....
我好想哭...后面一个参数类型明明是long...:face (36):
DllCall("WinLockDLL.dll", "int", "TaskManager_Enable_Disable", "long", 1)
orz...
kn007
发表于 2009-7-7 11:00:30
仍然不行,你怎么知道是long?
rolaka
发表于 2009-7-7 11:02:29
仍然不行,你怎么知道是long?
kn007 发表于 2009-7-7 11:00 http://www.autoitx.com/images/common/back.gif
我这里测试成功 是long类型 没问题
rolaka
发表于 2009-7-7 11:04:27
DllCall("WinLockDLL.dll", "int", "TaskManager_Enable_Disable", "long", 0)
MsgBox(0, "测试", "按下确定解除限制")
DllCall("WinLockDLL.dll", "int", "TaskManager_Enable_Disable", "long", 1)
我这里测试成功
kn007
发表于 2009-7-7 11:09:38
哦,你两个都是long,我在试试
kn007
发表于 2009-7-7 11:10:38
本帖最后由 kn007 于 2009-7-7 11:11 编辑
DllCall("WinLockDLL.dll", "int", "TaskManager_Enable_Disable", "long", 0)
根本不锁,还有我问的不是TaskManager_Enable_Disable,是CtrlAltDel_Enable_Disable
TaskManager_Enable_Disable
我这是int,可以的
kn007
发表于 2009-7-7 11:11:20
DllCall("WinLockDLL.dll", "int", "CtrlAltDel_Enable_Disable", "long", 0)
MsgBox(0, "测试", "按下确定解除限制")
DllCall("WinLockDLL.dll", "int", "CtrlAltDel_Enable_Disable", "long", 1)
不行
rolaka
发表于 2009-7-7 11:15:46
DllCall("WinLockDLL.dll", "int", "CtrlAltDel_Enable_Disable", "long", 0)
MsgBox(0, "测试", "按下确定解除限制")
DllCall("WinLockDLL.dll", "int", "CtrlAltDel_Enable_Disable", "long", 1)
不行
kn007 发表于 2009-7-7 11:11 http://www.autoitx.com/images/common/back.gif
= = 为什么我这里都成功的... xpsp3...
rolaka
发表于 2009-7-7 11:16:36
DllCall("WinLockDLL.dll", "int", "TaskManager_Enable_Disable", "long", 0)
根本不锁,还有我问的不是TaskManager_Enable_Disable,是CtrlAltDel_Enable_Disable
TaskManager_Enable_Disable
我这是int,可以 ...
kn007 发表于 2009-7-7 11:10 http://www.autoitx.com/images/common/back.gif
函数参数类型都是不变的......我看过是long...不是int啊
kn007
发表于 2009-7-7 11:17:39
http://www.autoitx.com/forum.php?mod=viewthread&tid=859&page=1&fromuid=7644076#pid6090
大概你那个不是sanhen的吧。。。
我也是xpsp3 _ en
我英文版系统
kn007
发表于 2009-7-7 11:18:08
你的那个在那下的饿?
rolaka
发表于 2009-7-7 11:21:02
= = 是这个
难道? 我的是...autoit3.2.13.12 你呢?
类型改成long*呢?
kn007
发表于 2009-7-7 11:28:03
我是3310_1。。
long*?
我试试
kn007
发表于 2009-7-7 11:29:20
DllCall("WinLockDLL.dll", "int", "CtrlAltDel_Enable_Disable", "long", 0)
和DllCall("WinLockDLL.dll", "int", "CtrlAltDel_Enable_Disable", "long*", 0)
根本就不会锁定
DllCall("WinLockDLL.dll", "int", "CtrlAltDel_Enable_Disable", "int", 0)可以,就是不可解除
rolaka
发表于 2009-7-7 11:38:03
DllCall("WinLockDLL.dll", "int", "CtrlAltDel_Enable_Disable", "long", 0)
和DllCall("WinLockDLL.dll", "int", "CtrlAltDel_Enable_Disable", "long*", 0)
根本就不会锁定
DllCall("WinLockDLL.dll", "int",...
kn007 发表于 2009-7-7 11:29 http://www.autoitx.com/images/common/back.gif
http://www.codeproject.com/KB/winsdk/AntonioWinLock.aspx?df=100&forumid=62485&exp=0&select=1088251
好像key和锁任务管理器的参数是不一样的 = =