[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 1


IMSimpleMapping Subroutine

Purpose

Translates a pair of KeySymbol and State parameters to a string and returns a pointer to this string.

Library

Input Method Library (libIM.a)

Syntax


caddr_t IMSimpleMapping (IMMapKeySymbolStateNBytes)
IMMap  IMMap;
KeySym  KeySymbol;
uint  State;
int * NBytes;

Description

Like the IMAIXMapping subroutine, the IMSimpleMapping subroutine translates a pair of KeySymbol and State parameters to a string and returns a pointer to this string. The parameters have the same meaning as those in the IMAIXMapping subroutine.

The IMSimpleMapping subroutine differs from the IMAIXMapping subroutine in that it does not support the diacritic character sequence or the Alt-NumPad key sequence.

Parameters


IMMap Identifies the keymap.
KeySymbol Key symbol to which the string is mapped.
State Specifies the state to which the string is mapped.
NBytes Returns the length of the returning string.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

The IMAIXMapping (IMAIXMapping Subroutine) subroutine, IMFreeKeymap (IMFreeKeymap Subroutine) subroutine, IMInitializeKeymap (IMInitializeKeymap Subroutine) subroutine.

Input Method Overview and National Language Support Overview for Programming in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]