ImeSetCompositionString


BOOL WINAPI ImeSetCompositionString(HIMC hIMC, DWORD dwIndex, 
    LPCVOID lpComp, DWORD dwCompLen, LPCVOID lpRead, DWORD dwReadLen);

Causes the IME to arrange the composition string structure with the given data. This function causes the IME to send the WM_IME_COMPOSITION message.

hIMC

Handle of the input context.

dwIndex

Can be one of these values:

SCS_SETSTR

SCS_CHANGEATTR

SCS_CHANGECLAUSE

lpComp

Address of the buffer that contains the updated string. The dwIndex parameter indicates the type of the string.

dwCompLen

Length of the buffer, in bytes.

lpRead

Address of the buffer that contains the updated string. The dwIndex parameter indicates the type of the string.

dwReadLen

Length of the buffer, in bytes.