This call translates scan codes with shift states into ASCII codes.
KbdXlate
XlateRecord (PKBDTRANS) - input
chardata (KBDKEYINFO)
Value
It may take several calls to complete a translation because of accent key combinations, or other complex operations.
The Xlatestate1 and Xlatestate2 are for use by the keyboard translation routines. These fields are reserved and must only be accessed by the caller prior to starting a translation sequence and then they must be set to zero. The KbdXlate function is intended to be used for translating a particular scan code for a given shift state. The KbdXlate function is not intended to be a replacement for the OS/2 system keystroke translation function.