IActiveIME::ProcessKey method

Preprocesses all the keystrokes given through the Active Input Method Editor (IME).

Syntax

HRESULT ProcessKey(
  [in] HIMC  hIMC,
  [in] UINT  uVirKey,
  [in] DWORD lParam,
  [in] BYTE  *pbKeyState
);

Parameters

  • hIMC [in]
    A handle to the input context.

  • uVirKey [in]
    An unsigned integer value that specifies the virtual key to be processed.

  • lParam [in]
    An unsigned long integer value that specifies additional message information.

  • pbKeyState [in]
    The address of a 256-byte array that contains the current keyboard state. The Active IME should not modify the content of the key state.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

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