The IME class is a predefined window class in Windows 95-FE, just as Edit is a predefined class. The predefined IME class handles the entire user interface of the IME and processes all control messages from IME and applications that include IMM functions. An application can create its own IME user Interface by using the IME class. The system IME class will not be replaced by any IME.
The window procedure associated with the IME class processes the WM_IME_SELECT message. This message includes the keyboard layout of the newly selected IME. The IME class uses the keyboard layout to retrieve the names of the classes defined by each IME. Using the class names, the IME class creates a user interface window for the current active IME.