Thanks to the helping pointers from this wonderful community, I've now successfully ported all my DirectInput calls to Raw Input. However, one minor headache remains; CapsLock and NumLock buttons.
Ideally, when a person hits CapsLock or NumLock while in the game (i.e. as buttons bound to player actions), this wouldn't actually toggle CapsLock/NumLock/ScrollLock. This is simply because after a session in the game, if the key command isn't intercepted, the user will have absolutely no idea if the capslock is on or not when he/she/it returns to Windows.
In DirectInput this was easy; Just set the keyboard as DISCL_NONEXCLUSIVE|DISCL_FOREGROUND and there, no more CapsLock presses passed on to the system; Whatever was the user's preference before he/she/it started the game remained, regardless of what keys were hammered during the play session.
So, in other words, is there a way to block these keys from toggling the Caps/Num/ScrollLock states whilst in-game - without disabling the keys altogether?
As always, thank you in advance!