EUDP Management (Windows CE 5.0)
MSPY3 supports the following Input Method Management (IMM) functions for EUDP management:
ImmRegisterWord and ImmUnregisterWord both return a Boolean value to indicate either success or failure. Because these functions do not provide a specific cause for the failure, MSPY3 sets the most recent error code to indicate the cause. The error codes are the same for both functions. To obtain the error cause when the call to ImmRegistryWord fails, your application must call the GetLastError function. The following table shows the error codes MSPY3 can return. All error codes are DWORDs.
Error code | Description |
---|---|
0x20000001 | Phrases longer than nine characters are not supported. |
0x20000002 | The EUDP term contains surrogate, ANSI, symbol, or extended characters. |
0x20000005 | A duplicate term exists in the built-in dictionary. |
0x20000006 | A duplicate term exists in the EUDP file. |
0x20000009 | Single characters are not supported. |
0x2000000A | The EUDP has an invalid reading. |
0x2000000B | The EUDP file is full. |
0x2000000C | Fatal error, including out of memory. |
MSPY3 exposes the ClearEudpContent function, which allows an application to delete the entire contents of a EUDP file.
See Also
Simplified Chinese MSPY 3.0 IME OS Design Development | End User-Defined Phrase (EUDP) | ClearEudpContent
Send Feedback on this topic to the authors