This message is sent immediately before an IME generates a composition string as a result of a user's keystroke. The UI window opens its composition window when it receives this message.
An application that needs to display composition characters by itself should not pass this message to either application IME window or DefWindowProc, which passes the message to the default IME window.