This is a different issue. Modern keyboards have that little moon-icon button which puts the system to sleep when the user presses it. I want to disable that.
I am still stuck here because the sleep event, if there is one, is not a shutdown event, nor is it a powerbroadcast event.
The only thing I have found is an article that says I can write a driver to filter the the keycaps request, but I think that is too heavyweight of a solution.
So the...
I would like to disable the system Sleep key that is found on modern keyboards. I tried overriding the WM_SYSKEYDOWN event, but somehow this key still makes it through and puts the system to sleep. Is there another way to disable this key?
Alternatively, is there a way I can abort a system...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.