IActiveIME::ToAsciiEx method

Generates a conversion result through the Active Input Method Editor (IME) conversion engine according to the hIMC parameter.

Syntax

HRESULT ToAsciiEx(
  [in]  UINT  uVirKey,
  [in]  UINT  uScanCode,
  [in]  BYTE  *pbKeyState,
  [in]  UINT  fuState,
  [in]  HIMC  hIMC,
  [out] DWORD *pdwTransBuf,
  [out] UINT  *puSize
);

Parameters

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

  • uScanCode [in]
    An unsigned integer value that specifies the hardware scan code of the key to be translated.

  • 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.

  • fuState [in]
    An unsigned integer value that specifies the active menu flag.

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

  • pdwTransBuf [out]
    The address of an unsigned long integer value that receives the translated result.

  • puSize [out]
    The address of an unsigned integer value that receives the number of messages.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

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