ImmGetCandidateListCount

The ImmGetCandidateListCount function retrieves the size, in bytes, of the candidate lists.

DWORD ImeGetCandidateListCount(
  HIMC hIMC,             
  LPDWORD lpdwListCount  
);
 

Parameters

hIMC
Handle to the input context.
lpdwListCount
Pointer to the 32-bit variable that receives the size of the candidate lists.

Return Values

Returns the number of bytes required to receive all candidate lists.

Remarks

Applications typically call this function in response to a IMN_OPENCANDIDATE or IMN_CHANGECANDIDATE message.

QuickInfo

  Windows NT: Requires version 4.0 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Requires version 2.0 or later (FE).
  Header: Declared in imm.h.
  Import Library: Use imm32.lib.
  Unicode: Implemented as Unicode and ANSI versions on Windows NT.

See Also

Input Method Editor Overview, Input Method Editor Functions, IMN_CHANGECANDIDATE, IMN_OPENCANDIDATE