static bool TranslateMessage(QueueMessage QMessage)
This function translates virtual key messages into character messages and posts them to the queue.
The queue message to be translated.
|true||A virtual key message was translated into a character message.|
|false||No virtual key message was translated.|
When a keyboard key is depressed, the keyboard driver posts the message Message::KeyDown to the queue of the thread that has the input focus. Likewise, when a keyboard key is released, the keyboard driver posts the message Message::KeyUp. This function generates and posts the message Message::Character on the key down transition.
The message for which this function is called remains unmodified.