Xref: news2.mv.net comp.os.msdos.djgpp:4996 From: machek AT atrey DOT karlin DOT mff DOT cuni DOT cz (Pavel Machek) Newsgroups: comp.os.msdos.djgpp Subject: Re: Blocking Keys in Win95 Date: 14 Jun 1996 16:29:13 GMT Organization: LVT KARLIN Lines: 22 Distribution: world Message-ID: <4ps40p$mpo@ns.felk.cvut.cz> References: NNTP-Posting-Host: atrey.karlin.mff.cuni.cz To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote: : : On Wed, 5 Jun 1996, Shawn Hargreaves wrote: : : > > I have a keyboard interrupt in my game. Under DOS, you cannot reboot the : > > system or anything. The controler take total control of the keyboard : > > like it is supposed to. But with win95, If I hit the START button, or : > > Cntr-Alt-Del, windows takes over. How can one stop this? : > : > Basically you can't. What you are getting under win95 is not a direct : > hardware interrupt: it is a virtualised interrupt which the OS has : > already looked at and decided to pass on to your app. Some keys it keeps : > for itself, and so your program never sees the interrupt. Well. You can. But you would have to write some windows-specific code in 386 assembly, which would become part of windows and pass these interrupts to you. Not worth writing, in my opinion. -- -- This looks like my signature... Pavel Machek If you want more info about me, http://novell.karlin.mff.cuni.cz/~pmac5296.