End User-Defined Phrase (EUDP) (Windows CE 5.0)
MSPY 3.0 for Windows CE supports End User-Defined Phrase (EUDP) functionality. EUDP enables users to define a customized phrase inline. Users can select the phrase in the composition string and then press the ENTER key on the target device if they are using a hardware keyboard, or choose the "Phrase" button if they are using the Shuang Ping on-screen keyboard.
You can select EUDP support in your OS design by setting the ModeConfig key in the registry. For more information, see Simplified Chinese MSPY 3.0 IME Configuration Registry Settings. The system default is to enable EUDP.
MSPY 3.0 creates a 100-KB file to store all EUDPs. When the target device runs, MSPY 3.0 allocates 256 KB of shared memory to stage EUDP for all running processes using MSPY. Whenever this shared area is accessed, the content in the shared memory is immediately updated to the EUDP file. The 100-KB EUDP file is estimated to hold 5,000 phrases.
EUDP only supports phrases that do not contain any surrogate, ANSI, symbol, or extended characters. In addition, the length of the phrase must be longer than 1 and less than 10 characters.
When the EUDP file size reaches its limit, MSPY 3.0 makes room for newly defined phrases using the first-in, first-out approach. The user can either delete the entire EUDP file or temporarily disable EUDP functionality in the Property dialog box, accessible by choosing the Property UI button located on the status window. To enable the user to delete the dictionary and define new phrases, you need to set the NoPropertyUI key in the registry to display the Property UI button. For information about configuring the Property UI, see Simplified Chinese MSPY 3.0 IME Configuration Registry Settings. For more information about the IME UI, see Overview of the IME User Interface.
See Also
Simplified Chinese MSPY 3.0 IME OS Design Development | EUDP Management
Send Feedback on this topic to the authors