Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
http://www.codeproject.com/win32/AntonioWinLock.asp?df=100&forumid=62485&exp=0&select=1088251
The author provides the DLL and demo programs written in C and VB, all with source code. I have been tinkering with calling the DLL via WinBatch and have it working for most features (on Windows XP):
DLLCall("WinLockDll.dll",Long:"Desktop_Show_Hide",Long:0) DLLCall("WinLockDll.dll",Long:"Taskbar_Show_Hide",Long:0) DLLCall("WinLockDll.dll",Long:"TaskSwitching_Enable_Disable",Long:0) DLLCall("WinLockDll.dll",Long:"TaskManager_Enable_Disable",Long:0) Message('','') DLLCall("WinLockDll.dll",Long:"Desktop_Show_Hide",Long:1) DLLCall("WinLockDll.dll",Long:"Taskbar_Show_Hide",Long:1) DLLCall("WinLockDll.dll",Long:"TaskSwitching_Enable_Disable",Long:1) DLLCall("WinLockDll.dll",Long:"TaskManager_Enable_Disable",Long:1)
But, I'm having trouble with the Ctrl-Alt-Del blocker. If you run the next script, you will see that Ctrl-Alt-Del gets blocked but does not get unblocked (until you reboot your computer):
DLLCall("WinLockDll.dll",Long:"CtrlAltDel_Enable_Disable",Long:0) Message('','') DLLCall("WinLockDll.dll",Long:"CtrlAltDel_Enable_Disable",Long:1)Since the demo programs block and unblock Ctr-Alt-Del just fine on the same computer, I assume I have not used DLLCall correctly. Anyone know what I'm doing wrong?
DllCallCdecl("WinLockDll.dll",Long:"Desktop_Show_Hide",Long:0) DllCallCdecl("WinLockDll.dll",Long:"Taskbar_Show_Hide",Long:0) DllCallCdecl("WinLockDll.dll",Long:"TaskSwitching_Enable_Disable",Long:0) DllCallCdecl("WinLockDll.dll",Long:"TaskManager_Enable_Disable",Long:0) DllCallCdecl("WinLockDll.dll",Long:"CtrlAltDel_Enable_Disable",Long:0) Message('','') DllCallCdecl("WinLockDll.dll",Long:"Desktop_Show_Hide",Long:1) DllCallCdecl("WinLockDll.dll",Long:"Taskbar_Show_Hide",Long:1) DllCallCdecl("WinLockDll.dll",Long:"TaskSwitching_Enable_Disable",Long:1) DllCallCdecl("WinLockDll.dll",Long:"TaskManager_Enable_Disable",Long:1) DllCallCdecl("WinLockDll.dll",Long:"CtrlAltDel_Enable_Disable",Long:1)
Article ID: W17027
File Created: 2007:07:03:14:27:40
Last Updated: 2007:07:03:14:27:40