|
本帖最后由 zjg2003 于 2009-4-22 08:45 编辑
Ctrl Alt Del 不能还原为可用状态
我的代码如下:
Global $aa = DllOpen (@ScriptDir & "\" & "winlockdll.dll")
HotKeySet ("^!{F12}","_ext")
;Disable Alt+Tab (note: do not change the first 0 in AltTab2_Enable_Disable!!)
DllCall($aa, "int", "AltTab1_Enable_Disable", "int", 0)
DllCall($aa, "int", "AltTab2_Enable_Disable", "int", 0, "int", 0)
;Disable Task Switching Keys (Winkey+D.. actually, any winkey + shortcut i think)
DllCall($aa, "int", "TaskSwitching_Enable_Disable", "int", 0)
;Disable Ctrl+Alt+Del, Ctrl+Shift+Esc
DllCall($aa, "int", "CtrlAltDel_Enable_Disable", "int", 0)
While 1
Sleep(1000)
WEnd
Func _ext()
DllClose($aa)
Exit
EndFunc
[ 本帖最后由 zjg2003 于 2009-3-20 14:36 编辑 ] |
|