Access HIMCC

To access one component of the input context, an IME must call ImmLockIMCC to get a pointer to IMCC. ImmLockIMCC increments the IMM lock count for IMCC, and ImmUnlockIMC decrements it. ImmReSizeIMCC may resize IMCC to the specified size.

Occasionally, an IME may need to create one component of the input context by itself. In this case, the IME can call the ImmCreateIMCC function and obtain the handle of IMCC. This IMCC can be members of the INPUTCONTEXT structure (hCompStr, hCandInfo, hGuideLine, hPrivate or hMsgBuf).

ImmDestroyIMCC destroys one component of the input context.