IActiveIME::GetRegisterWordStyle method

Gets the available styles in this Active Input Method Editor (IME).

Syntax

HRESULT GetRegisterWordStyle(
  [in]  UINT      nItem,
  [out] STYLEBUFW *pStyleBuf,
  [out] UINT      *puBufSize
);

Parameters

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

  • pStyleBuf [out]
    The address of the buffer to receive the STYLEBUFW structures.

  • puBufSize [out]
    The address of an unsigned integer that receives the number of styles copied to the buffer. If nItem is zero, puBufSize receives the number of bytes required to get the information.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method maps to the ImeGetRegisterWordStyle function documented in the Windows 2000 Driver Development Kit (DDK).

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 5.0

Header

Dimm.h

IDL

Dimm.idl

DLL

Custom

See also

IActiveIME