Is there any way to block CTRL+ALT+DEL too when using BlockInput(true);
in Delphi? I've found a function SystemParametersInfo(97,Word(True),@OldValue,0);
but it doesn't work on XP.
I need this for my classroom in the university to temporarily "BAN" students, who are trying to cheat computerized tests.
Edit:
Well, ok. The result of while true do BlockInput(true)
+ NoClose
+ NoLogoff
, DisableTaskMgr
+ DisableLockWorkstation
+ DisableChangePassword
is partly acceptable. With this banned user can only press "Cancel" on the Security screen, and get an error, if he/she try to press a CTRL + SHIFT + ESC on this. But this is not very clean way to do this, I think, so the question about blocking all input is still active.
Suggested solutions:
Key remapping - requires reboot, remapped keys not working properly
Gina DLL replacement - requires some major knowledge in C++ to have needed functionality, please provide more info or a link to a working sample
KB Driver replacement - may not work with some keyboards and Windows is trying to replace it back after reboot
Nothing to do with this - not actual truth because of some apps, which can do this without a reboot or gina replacement
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…