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.