I am working in a C programme which need to check the CAPS LOCK key state. I need to check weather the CAPS LOCK is on state or off. Unlike other keys, once you press CAPS LOCK key it goes to ON state and OFF when press again. I have tried this by using GetAsyncKeyState and GetKeyState functions and I cant do that usimng those functions.
Pls help me to findout a code for this in.