Share via


IActiveIMMApp::GetRegisterWordStyleW method

Gets a list of the styles supported by the Input Method Editor (IME) associated with the specified keyboard layout ( Unicode implementation).

Syntax

HRESULT GetRegisterWordStyleW(
  [in]  HKL       hKL,
  [in]  UINT      nItem,
  [out] STYLEBUFW *pStyleBuf,
  [out] UINT      *puCopied
);

Parameters

  • hKL [in]
    A handle to the keyboard layout.

  • nItem [in]
    An unsigned integer value that contains the maximum number of styles that the buffer can hold.

  • pStyleBuf [out]
    The address of a STYLEBUFW structure that receives the style information.

  • puCopied [out]
    The address of an unsigned integer value that receives the number of layout handles that are copied to the buffer, or if nItem is zero, receives the buffer size in array elements that is required to receive all available style information.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method maps to the ImmGetRegisterWordStyle function that is documented in the Windows Software Development Kit (SDK).

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 5.0

Header

Dimm.h

IDL

Dimm.idl

See also

IActiveIMMApp