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?
ThanksCode:if(GetAsyncKeyState(VK_CAPITAL)) Caps Lock is toggled else Caps Lock is untoggle