IFECommon::IsDefaultIME method (msime.h)

Determines if the IME specified by the class ID is the default IME on a local computer.

The name of the IME is obtained from the Win32 keyboard layout API.

Syntax

HRESULT IsDefaultIME(
  [out] const CHAR *szName,
  [in]  INT        cszName
);

Parameters

[out] szName

The name of the IME for the specified class ID. Can be NULL.

[in] cszName

The size of szName in bytes.

Return value

  • S_OK if this Microsoft IME is already the default IME.
  • S_FALSE if this Microsoft IME is not the default IME.
  • Otherwise E_FAIL.

Requirements

Requirement Value
Target Platform Windows
Header msime.h

See also

IFECommon

Win32 keyboard layout API