Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!tut.cis.ohio-state.edu!sei!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!ralf From: ralf+@cs.cmu.edu (Ralf Brown) Newsgroups: comp.os.msdos.programmer Subject: Re: cntl-alt-del trap Message-ID: <1991Jan19.030117.25804@cs.cmu.edu> Date: 19 Jan 91 03:01:17 GMT References: <24752@grebyn.com> Sender: netnews@cs.cmu.edu (USENET News Group Software) Distribution: na Organization: School of Computer Science, Carnegie Mellon Lines: 18 In article levericw@cheetah.ece.clarkson.edu (Walden Leverich) writes: }frank> Does anyone know of a way to disable (trap) cntl-alt-del within }frank> a C application. } }Try trapping the keyboard interrupt (INT09) and watching for the }ctrl-alt-del combination. I believe ctrl-alt-del has an interrupt of }its own you could wath for Unfortunately, it doesn't. They keyboard BIOS does a jump directly to the BIOS entry point when you press Ctrl-Alt-Del. The only way to disable it is (as you said) to hook INT 09 and filter out the Del scancode if Ctrl and Alt are already pressed. -- {backbone}!cs.cmu.edu!ralf ARPA: RALF@CS.CMU.EDU FIDO: Ralf Brown 1:129/3.1 BITnet: RALF%CS.CMU.EDU@CMUCCVMA AT&Tnet: (412)268-3053 (school) FAX: ask DISCLAIMER? Did | It isn't what we don't know that gives us trouble, it's I claim something?| what we know that ain't so. --Will Rogers