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

Technical Reference: Base Operating System and Extensions, Volume 1

IMAIXMapping Subroutine

Purpose

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

Library

Input Method Library (libIM.a)

Syntax


caddr_t IMAIXMapping(IMMap, Key, State, NBytes)
IMMap  IMMap;
KeySym  Key;
uint  State;
int * NBytes;

Description

The IMAIXMapping subroutine translates a pair of Key and State parameters to a string and returns a pointer to this string.

This function handles the diacritic character sequence and Alt-NumPad key sequence.

Parameters

IMMap Identifies the keymap.
Key Specifies the 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.

Return Values

If the length set by the NBytes parameter has a positive value, the IMAIXMapping subroutine returns a pointer to the returning string.

Note
The returning string is not null-terminated.

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