I know it's possible since I've seen programs that have done it, but I'm not exactly sure how... I would think that trapping the keystrokes might do it, but that's just a guess. You also might want to trap key sequences like alt-tab, alt-escape, alt-enter, etc. Most of those will give you access to windows, allowing exiting of the program through another means.
---------------
I also found this on a google search:
Hi !
I did it , and you can be writing lowlevel hook and installing with
SetWindowsHookEx( WH_KEYBOARD_LL) where you can prevent different
combinations
like Alt+Tab to LowLevelKeyboardProc(). Yes , Alt+Tab+Del cannot be catch
by low hook ,
but my clients ( of our system ) demand it too , so
I added the program which do HOTKEY on combination and if it's pressed
check if TaskManager in the air and
disable needed buttons in it.
Not so nice as to work with GINA , but simple and customers are happy .
---------
Here is the URL:
Hope that helps.
(Note, its extremely difficult, if not impossible to disable cntrl-alt-delete on 2k/XP systems..
MG