Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
161 views

Before we start, yes, this solution works but only outside Unity. Intent I'm trying to prevent the Windows key from interrupting my game. I wrote a DLL that registers a WH_KEYBOARD_LL Windows hook (...
Emmanuel's user avatar
  • 17.1k
0 votes
0 answers
405 views

I work on a product that uses accessories to send commands to the system. These accessories are basically USB keyboards and each of them has a different set of keys, on which we must act differently, ...
allw's user avatar
  • 1
0 votes
0 answers
909 views

I am currently attempting to write a Windows Service that will shutdown the computer after a predetermined amount of time of system/user inactivity. In order to do this (at both the logon screen and ...
Brenton Millers's user avatar
2 votes
2 answers
2k views

What's the correct way to convert a message from SetWindowsHookEx with WH_KEYBOARD_LL into a useful representation of the key pressed? I'm aware this will most likely involve understanding the ...
Basic's user avatar
  • 26.8k
2 votes
1 answer
769 views

I'm using a low-level keyboard hook (WH_KEYBOARD_LL) to disable certain input, such as Alt-Tab. I create the hook on a thread with a message pump, so I can properly handle the notifications. The hook'...
dreijer's user avatar
  • 675
25 votes
1 answer
18k views

What is the difference between the working of two? For WH_KEYBOARD_LL, I read that it Installs a hook procedure that monitors low-level keyboard input events. What is meant by low-level keyboard ...
program-o-steve's user avatar
0 votes
1 answer
6k views

I am using SetWindowsHookEx() to create a keyboard hook. The creation seems to be successful but the procedure which is registered never gets called. Is there something I am doing wrong? #region ...
Nippysaurus's user avatar
  • 20.4k