Hello12345 Posted September 26, 2006 Posted September 26, 2006 (edited) this dll is located at http://codeproject.com with a gui, that also has the source code for the gui.attached is the dll and the source from the site for the c gui.$open=DllOpen("WinLockDll.dll") DllCall($open,'int:cdecl',"StartButton_Show_Hide") ConsoleWrite('@@ Debug(2) : DllCall($open,''Int'',"StartButton_Show_Hide") = ' & DllCall($open,'Int',"StartButton_Show_Hide") & @lf & '>Error code: ' & @error & @lf) ;### Debug Console Sleep(1000)this as far as i got but cannot get the functions to work. any help is appreciatedthanksWinLockDll.dllWinLockEXE.c Edited September 26, 2006 by Hello12345
CWorks Posted September 26, 2006 Posted September 26, 2006 (edited) there you go $dll = DllOpen("WinLockDll.dll") ; Hide Start button DllCall($dll, "int", "StartButton_Show_Hide", "int", "Hide_StartButton") Sleep(1000) ; Show Start button DllCall($dll, "int", "StartButton_Show_Hide") Edited September 26, 2006 by CWorks
FeReNGi Posted September 26, 2006 Posted September 26, 2006 (edited) try next test script : expandcollapse popup;Hide StartButton DllCall("WinLockDll.dll", "Int", "StartButton_Show_Hide", "Int", "0") Sleep(5000) DllCall("WinLockDll.dll", "Int", "StartButton_Show_Hide", "Int", "1") Sleep(1000) ;Hide Clock DllCall("WinLockDll.dll", "Int", "Clock_Show_Hide", "Int", "0") Sleep(5000) DllCall("WinLockDll.dll", "Int", "Clock_Show_Hide", "Int", "1") Sleep(1000) ;Hide Desktop DllCall("WinLockDll.dll", "Int", "Desktop_Show_Hide", "Int", "0") Sleep(5000) DllCall("WinLockDll.dll", "Int", "Desktop_Show_Hide", "Int", "1") Sleep(1000) ;Hide Taskbar DllCall("WinLockDll.dll", "Int", "Taskbar_Show_Hide", "Int", "0") Sleep(5000) DllCall("WinLockDll.dll", "Int", "Taskbar_Show_Hide", "Int", "1") Sleep(1000) ;Disable CrtlAltDel DllCall("WinLockDll.dll", "Int", "CtrlAltDel_Enable_Disable", "Int", "0") Sleep(5000) DllCall("WinLockDll.dll", "Int", "CtrlAltDel_Enable_Disable", "Int", "1") Sleep(1000) DllCall("WinLockDll.dll", "Int", "Process_Desktop", "str", "MyDesktop2", "str", "Calc.exe") Edited September 26, 2006 by FeReNGi ServicesPE|LoadVMDK
slayerz Posted December 26, 2009 Posted December 26, 2009 ;Disable CrtlAltDel DllCall("WinLockDll.dll", "Int", "CtrlAltDel_Enable_Disable", "Int", "0") MsgBox(0, 'Pause', 'Ctrl Alt Del has been disable') DllCall("WinLockDll.dll", "Int", "CtrlAltDel_Enable_Disable", "Int", "1") This code does disable the ctrl+alt+del combination, but it will only enable the combination on next reboot. Anyone has a working workaround? AUTOIT[sup] I'm lovin' it![/sup]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now