ImmGetRegisterWordStyle

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

At a Glance

Header file: Imm.h
Windows CE versions: 2.10 and later

Syntax

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

Parameters

hKL

[in] Ignored; set to NULL. Windows CE does not support true keyboard layouts.

nItem

[out] Maximum number of styles that the buffer can hold.

lpStyleBuf

[in] Long pointer to the STYLEBUF structure that receives the style information.

Return Values

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