WH_KEYBOARD vs. WH_KEYBOARD_LL

I read that WH_KEYBOARD_LL is for "Low Level" keyboard hooks.
Does this mean that if you wanted to hook _all_ keys recieved from the user, then you'd need to use this? Whereas WH_KEYBOARD is just for a specific application?

Or, can WH_KEYBOARD be used to hook the keyboard, as to recieve _all_ keys pressed?

Thanks.
LVL 25
InteractiveMindAsked:
Who is Participating?
 
AlexFMCommented:
Both hooks have the same low level and allow to set local or global keyboard hook. WH_KEYBOARD_LL is more convenient for using because it's callback function can be in the same exe project where hook is created. WH_KEYBOARD_LL can be used in WinNT or later. If you don't need Win95/98, use WH_KEYBOARD_LL hook.
0
 
InteractiveMindAuthor Commented:
Much appreciated, AlexFM.  :-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.