Maps a Key/State (key symbol/state) pair to a string.
Input Method Library (libIM.a)
int IMLookupString(Im, Key, State, String, Length)
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.
|Im||Specifies the input method instance.|
|Key||Specifies the key symbol for the event.|
|State||Defines the state for the event. A value of 0 means that the key is not redefined.|
|String||Holds the returned string, if one exists. A null value means that no composed string is ready.|
|Length||Defines the length string on input. If the string is not null, identifies the length returned.|
|IMReturnNothing||No string or keysym was 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.