Partager via


IActiveIMMApp::DisableIME method

Disables the Input Method Editor (IME) for a thread or all threads in a process.

Syntax

HRESULT DisableIME(
  [in] DWORD idThread
);

Parameters

  • idThread [in]
    An unsigned long integer value that contains the thread identifier for which the IME will be disabled. If idThread is zero, the IME for the current thread is disabled. If idThread is -1, the IME is disabled for all threads in the current process.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method is only available for Windows 98 and Microsoft Windows NT 4.0. This method maps to the ImmDisableIME 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