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
);
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.
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.
Input Method Editor Overview, Input Method Editor Functions, STYLEBUF