0

I am aware that this had been asked MANY times, but i've spent a good amount of time looking at all of them I could find, and I haven't gotten a good answer. I do understand the concept of an NMI and I am aware that I cannot intercept the call. I was just wondering if I were to develop a GINA application, could I respond to ALL the hooks that the operating system calls so that I can just ignore them? Are there some hooks that get executed regardless of my GINA implementation? I have run across many little utilities that will tweak the registry for me, but I want to handle it all in code without changing the registry.

PS, I DO NOT want to write my own keyboard driver nor do I want to hack around in BIOS land...

Also, I have read that Win 7 does not use GINA. Am I wrong? If not, what Windows component do I need to implement/replace in order to do the same thing?

Joe
  • 62,789
  • 6
  • 49
  • 67
Nicholas Terry
  • 1,812
  • 24
  • 40
  • You are correct that Win7 does not use GINAs. – Gabe Sep 22 '12 at 01:49
  • Removed 'SAS' tag - that refers to the 4GL statistical programming language, not your intended usage of SAS (an overloaded acronym if I've ever seen one). – Joe Sep 23 '12 at 02:55
  • I think SAS is *Secure Attention Sequence* – ta.speot.is Sep 23 '12 at 02:56
  • Yes, in this case it is - but the "SAS" tag on Stackoverflow is not. – Joe Sep 23 '12 at 11:55
  • I've used custom GINAs. For the record, they do allow you to ignore the SAS, but it will still have some side-effects; for example, it will clear the effect of the BlockInput function. All irrelevant, unfortunately, since you're developing for Windows 7. – Harry Johnston Sep 23 '12 at 23:08
  • Have you tried RegisterRawInputDevices with the RIDEV_NOLEGACY flag? (My guess is that this won't work, but I don't know whether anyone has ever tried.) – Harry Johnston Sep 23 '12 at 23:13

1 Answers1

3

GINA was killed by Vista. So you are right that it's not present in Windows 7. The replacement functionality is credential providers. They certainly don't allow you to intercept SAS.

David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490