An application sends the IMC_SETCOMPOSITIONFONT message to the IME window to specify a font to be used for displaying intermediate characters in the composition window. A UI window does not receive this message.
If successful, the return value is zero. Otherwise, it is nonzero.