SendInput () para teclado - solo en mayúsculas

Bastante gracioso. Acabo de preguntar hace unos minutos aquí.SendInput () para teclado - solo en minúsculas, como enviar letras mayúsculas. La solución fue enviar turno antes de la carta. Pero después de encender el turno no puedo apagarlo ...

Me estoy esforzando mucho con el indicador KEYEVENTF_KEYUP como este:

INPUT Input = { 0 };
Input.type       = INPUT_KEYBOARD;
Input.mi.dwFlags = KEYEVENTF_EXTENDEDKEY;
Input.ki.wVk   = VK_LSHIFT;
SendInput( 1, &Input, sizeof( INPUT ) );

Input.type       = INPUT_KEYBOARD;
Input.mi.dwFlags = KEYEVENTF_EXTENDEDKEY;
Input.ki.wVk   = 'A';
SendInput( 1, &Input, sizeof( INPUT ) );

Input.type       = INPUT_KEYBOARD;
Input.mi.dwFlags = KEYEVENTF_KEYUP | KEYEVENTF_EXTENDEDKEY;
Input.ki.wVk   = VK_LSHIFT;
SendInput( 1, &Input, sizeof( INPUT ) );

Input.type       = INPUT_KEYBOARD;
Input.mi.dwFlags = KEYEVENTF_EXTENDEDKEY;
Input.ki.wVk   = 'A';
SendInput( 1, &Input, sizeof( INPUT ) );

Pero parece que no funciona en absoluto. Siempre envía AA.

Gracias.

Respuestas a la pregunta(1)

Su respuesta a la pregunta