Function translate

Source
pub fn translate(msg: LPMSG) -> bool
Expand description

Translates virtual-key messages into character messages.

The character messages are posted to the calling thread’s message queue.

§Parameters:

  • msg - Pointer to message retrieved by get() or peek().

§Return

  • true - Translation happened.
  • false - Otherwise.