Maps a Key/State (key symbol/state) pair to a string.
Input Method Library (libIM.a)
int IMLookupString(Im, Key, State, String, Length)
IMObject Im;
KeySym Key;
uint State, * Length;
caddr_t * String;
The IMLookupString subroutine is used to map a Key/State pair to a localized string. It uses an internal input method keymap (imkeymap) file to map a keysym/modifier to a string. The string returned is encoded in the same code set as the locale of IMObject and IM Front End Processor.
Note: The buffer returned from the IMLookupString subroutine is owned by the input method editor and can not continue between calls.
IMError | Error encountered. |
IMReturnNothing | No string or keysym was returned. |
IMReturnString | String returned. |
This subroutine is part of Base Operating System (BOS) Runtime.
Input Method Overview in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.
National Language Support Overview for Programming in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.