ImmGetRegisterWordStyle

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

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

Parameters

hKL
Handle to the keyboard layout.
nItem
Maximum number of styles that the buffer can hold.
lpStyleBuf
Pointer to the STYLEBUF structure that receives the style information.

Return Values

The return value is the number of layout handles copied to the buffer, or if nItems is zero, the return value is the buffer size in array elements needed to receive all available style information.

QuickInfo

  Windows NT: Requires version 4.0 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  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, STYLEBUF