Prev Next

ImmGetRegisterWordStyle info  Overview  Group

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.

See Also

STYLEBUF