Jump to content
Sign in to follow this  

> dllcall

Recommended Posts



Sorry for my english but i am french...

I try to call WinLockDll.dll with this code : DllCall("winlockdll.dll","int","CtrlAltDel_Enable_Disable","int",0)

It work great for blocking the Ctrl-Alt-Del but not for unblocking (with this code : DllCall("winlockdll.dll","int","CtrlAltDel_Enable_Disable","int",1)

We must reboot the computer to have the Ctrl-Alt-Del.

With Winbatch it's the same thing -->DLLCall("WinLockDll.dll",Long:"CtrlAltDel_Enable_Disable",Long:1)-->that don't work.

but there's a way with DllCallCdecl like this : DllCallCdecl("WinLockDll.dll",Long:"CtrlAltDel_Enable_Disable",Long:1)-->that work.

Do you know if there's a way with autoit ?


Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this