Creates one instance of an IMObject object for a particular input method.
Input Method Library (libIM.a)
IMObject IMCreate(IMfep, IMCallback, UData) IMFep IMfep; IMCallback *IMCallback; caddr_t UData;
The IMCreate subroutine creates one instance of a particular input method. Several input method instances can be created under one input method.
|IMfep||Specifies the input method.|
|IMCallback||Specifies a pointer to the caller-supplied IMCallback structure.|
|UData||Optionally specifies an application's own information to the callback functions. With this information, the application can avoid external references from the callback functions. The input method does not change this parameter, but merely passes it to the callback functions. The UData parameter is usually a pointer to the application data structure, which contains the information about location, font ID, and so forth.|
The IMCreate subroutine returns a pointer to the created input method instance of type IMObject. If the subroutine is unsuccessful, a null value is returned and the imerrno global variable is set to indicate the error.
This subroutine is part of Base Operating System (BOS) Runtime.
The IMDestroy subroutine, IMFilter subroutine, IMLookupString subroutine, IMProcess subroutine.
Input Method Overview and National Language Support Overview for Programming in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.