View Single Post
  #10  
Old April 28th 20, 10:12 AM posted to microsoft.public.windowsxp.general
R.Wieser
external usenet poster
 
Posts: 1,302
Default How to disable a keyboards shutdown and sleep keys ?

JJ,

What's more annoying is that, the kernel ignores injected power
management scancodes when sent using SendInput(). This makes
it impossible to have a custom key or shortcut to act as power
management key,


Yup, I could imagine a use for that. And some very nasty "jokes" on
someone elses 'puter too.

unless we manually call a power action function ourselves.


but as those are available ... :-)

I was thinking of translating those two (three when including the "wake from
sleep" key) to some multimedia keystrokes - which result in calling
predefined programs (browser, email, etc). But nope. :-\

Regards,
Rudy Wieser


Ads