I'm trying to create an Edit type program using the Win32 API and C in the console.
What function(s) and how would I use them to get the state of Caps Lock, Num Lock, and Scroll Lock?
Is the code something like the code below?
Caps Lock is toggled
Caps Lock is untoggle