GetAsyncKeyState is case insensitive?

This is a discussion on GetAsyncKeyState is case insensitive? within the Windows Programming forums, part of the Platform Specific Boards category; Good morning, I'm a new member of the forum. I' trying from yesterday to use GetAsyncKeyState to create a program ...

GetAsyncKeyState is case insensitive?

Good morning, I'm a new member of the forum. I' trying from yesterday to use GetAsyncKeyState to create a program that uses the keyboard to be controlled. But I would like to understand why if I use like a argument of the function "A" or "a", i have the same result, so I tried to save into a file the keys that i pressed, and i found that the result was always, "A". And now i don't know how to do.

I don't know about you, but I've only got one 'a' key on my keyboard. I don't have a separate key for 'A' and for 'a'. However, you can also tell whether the shift-key (or alt, or control, or whatever) is also being pushed.

So what i can do? I understand that i have one button for each letter but i thought that normally the function got lowercases letters.
If i push any button i got an uppercase letter and i want lowercase letter and uppercase only with Caps active or shift held.
There is some way to solve this problem?