Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ImmGetRegisterWordStyle

ImmGetRegisterWordStyle function

Retrieves a list of the styles supported by the IME associated with the specified input locale.

Syntax


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

Parameters

hKL [in]

Input locale identifier.

nItem [in]

Maximum number of styles that the output buffer can hold. The application sets this parameter to 0 if the function is to count the number of styles available in the IME.

lpStyleBuf [out]

Pointer to a STYLEBUF structure in which the function retrieves the style information.

Return value

Returns the number of styles copied to the buffer. If the application sets the nItem parameter to 0, the return value is the number of styles available in the IME.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Version

East Asian language support installed.

Header

Imm.h (include Windows.h)

Library

Imm32.lib

DLL

Imm32.dll

Unicode and ANSI names

ImmGetRegisterWordStyleW (Unicode) and ImmGetRegisterWordStyleA (ANSI)

See also

Input Method Manager
Input Method Manager Functions
STYLEBUF

 

 

Community Additions

ADD
Show:
© 2015 Microsoft