When IME generates the WM_IME_COMPOSITION message, it may change the string, the attribute, and the clause information at once. The IME can use the follow definitions.
GCS_COMP
GCS_COMPREAD
GCS_RESULT
GCS_RESULTREAD