Platform SDK: International Features

ImmGetRegisterWordStyle

The ImmGetRegisterWordStyle function gets a list of the styles support by the IME associated with the specified input locale.

UINT ImmGetRegisterWordStyle(
  HKL hKL,               
  UINT nItem,            
  LPSTYLEBUF lpStyleBuf  
);

Parameters

hKL
[in] Input locale identifier.
nItem
[in] Specifies the maximum number of styles the buffer can hold. If zero, the function counts the number of styles available in the IME.
lpStyleBuf
[out] Pointer to a STYLEBUF structure that receives the style information.

Return Values

The function returns the number of the styles copied to the buffer, or if nItem is zero, the return value is the number of styles available i the IME.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Imm.h.
  Library: Use Imm32.lib.
  Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000.

See Also

Input Method Editor Overview, Input Method Editor Functions, STYLEBUF