[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Base Operating System and Extensions Technical Reference, 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 subroutine, IMFreeKeymap subroutine, IMInitializeKeymap subroutine.

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


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]