IActiveIMMApp::RegisterWordA method

Registers a string into the dictionary of the Input Method Editor (IME) that is associated with the specified keyboard layout (ANSI implementation).

Syntax

HRESULT RegisterWordA(
  [in] HKL   hKL,
  [in] LPSTR szReading,
  [in] DWORD dwStyle,
  [in] LPSTR szRegister
);

Parameters

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

  • szReading [in]
    The address of a string value that contains a null-terminated string that specifies the reading string which is associated with the string to register.

  • dwStyle [in]
    An unsigned long integer value that contains the style of the register string.

  • szRegister [in]
    The address of a string value that contains a null-terminated string that specifies the string to register.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method maps to the ImmRegisterWord 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